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

Categorizing logs with Serilog in Asp.Net Core


In Serilog, logs are stored sequentially in a file or in Elasticsearch. These logs are stored randomly (per user request) in Elasticsearch or text file as the number of site users increases and the number increases. For exampl ....
Read more

Implement and publish a Worker Service in .Net Core 3


With the release of Net Core 3. The Asp.Net team introduced a new template for building background applications called Worker Service, which is available as part of the SDK. Worker Services are designed to do background work, and the main feature of ....
Read more