How GUID Is Generated?

In this article, we are going to learn how actually GUID is created. Normally, we are using GUID commonly for uniqueness in the project, before start are we know about GUID? what is GUID? How to create GUID? If you know these answers, you ever wonder how actually its created and rare chance to duplicates?…

Read More

Backup Database Programmatically Using C#

Here, we will learn about taking the backup of database programmatically using c#. We will take the backup of a single database in our tutorial. Prerequisite Basic knowledge of C# Basic knowledge of ASP.NET MVC Create a new project in ASP.NET MVC and open the HomeController and replace the code with it. public class HomeController…

Read More

Looping Performance In C#

I am often asked by some people/colleagues, “which loop is faster?” “Which loop has higher performance?” Etc. I have heard that the For loop is faster than the For…each loop but I have never tried it before. So, I decided to see how big the difference is among all the loops and which one is…

Read More

C# Coding Standards

In this article, we’ll learn how we can optimize lines of code, which we should follow to write better, more clear code Introduction In this article, we’ll learn how we can optimize lines of codes, which we should follow to write better, more clear code. As per my thinking, there are some golden rules to…

Read More