How Thread pool works in C#


When a request sent to asp.net application A thread is created to handle the request. When a thread is created, some resources such as memory are allocated to the thread. Finally, when the job is done, Garbage Collector destroys the object created for the thread ....
Read more

Implementing NOLOCK in EntityFramework


In SQL when the records to be BULK INSERT stored large number of records SQL table to Lock and until all the data into SQL will not be able to get a data table read (by default). But in SQL itself you can read data UnCommited from tables. This can only retrieve data that is not Commit ....
Read more

Short polling implementation


Consider the scenario of making a cake: Add cake ingredients Add milk Add the eggs Mix the cake ingredients Prepare the oven cooking cake The cake is ready In this article, we want to implement a scenario similar to baking a cake in the form of short ....
Read more

How to use implicit operator and explicit operator in C#


In C#, you can not normally convert or cast classes into an int variable or any other variable, and vice versa. By default, you cannot assign an int number to a class. But you can do this by using implicit operators and explicit operators ....
Read more

Implementing Load Balancing in Nginx


When the number of site users increases and site traffic increases, generally one instance of the program can not meet all requests and we have to run several instances of the program on multiple servers. However, we ....
Read more