Hangfire: Task Scheduler for .NET

Hangfire: Task Scheduler for .NET
Rate this post

Hangfire is a multi-threaded and scalable task scheduler built on client-server architecture on .NET stack (Task Parallel Library and Reflection) with the intermediate storage in a database. There is a free LGPL v3 version with open source. In this article, we are going to explore how to use Hangfire.

Read More

Entity Framework: Improving Performance when Saving Data to Database

Entity Framework: Improving Performance when Saving Data to Database
4.5 (90%) 2 votes

When adding or modifying a large number of records (10³ and more), the Entity Framework performance is far from perfect. The reasons are architectural peculiarities of the framework, and non-optimality of the generated SQL. Leaping ahead, I can reveal that saving data through a bypass of the context significantly minimizes the execution time. Read More

Authorization in ASP.NET Core MVC

Authorization in ASP.NET Core MVC
Rate this post

This article describes patterns and methods available in ASP.NET Core MVC.

I would like to emphasize that we will explore only authorization (a process of verifying user’s rights), rather than authentication. Thus, we will not use ASP.NET Identity, authentication protocols, etc. In addition, we will have a look at some examples of using server code and Core MVC source code. At the end of the article, you will find a link to a test project.

Read More