How to manage Configuration in ASP.Net Core

Configuration management is something we cannot do without. It is a must-have feature. In this blog post, I am going to discuss how to manage and access configuration in ASP.Net Core applications. I will use ASP.Net Core 3.1 for demonstrating the example here. Configuration management in ASP.Net Core has improved significantly compared to how it … Read more

How to run background tasks in ASP.NET Core Application

In this blog post, I am going to walk through how to run background tasks in ASP.Net Core Web applications using infrastructure and API provided by the ASP.Net Core framework. There are a lot of scenarios where you want to run a task continuously in the background. Often times, we create our own interface and … Read more

FluentMigrator in ASP.Net Core

In the age of cloud computing and agile development, continuous deployment is key to success in any product. But the main bottleneck comes with deploying databases, where usually human intervention is needed to do so. FluentMigrator comes to rescue us here. FluentMigrator is a database migration framework for .Net Framework and .Net Core. In this … Read more

LINQ Internals

LINQ (Language-Integrated Query) was introduced in C# language with .Net Framework version 3.5. The main distinction that LINQ brings to the table, is the ability to write queries with type check. In traditional query language, the query construct is sting based. And these languages do not support type check or IntelliSense. Above all, there are … Read more

Swagger in ASP.Net Core

We all know the importance of API documentation. But in most cases, the API documentation is outside of code, and that ends up creating discrepancies between the API and its documentation. Swagger (OpenAPI specifications) solves exactly that problem. Swagger is an implementation of OpenAPI specifications. In the blog post, I am going to walk through … Read more

Migrations in Entity Framework Core

In this blog post, I am going to cover Migrations in Entity Framework Core. This is the feature, in my opinion, that is extremely necessary for a fast-paced development environment. In Entity Framework Core, we can use in-line queries or the API provided by the entity framework core for accessing data. The advantage of doing … Read more

Health Checks in ASP.Net Core

Health checks are a critical part of any distributed system. Especially in the era of microservices, it is extremely important to understand if the service is running healthy or not. In this blog, I will walk through how to implement Health Checks in ASP.Net Core. ASP.Net Core provides support for health checks out of the … Read more

Hangfire Job Scheduling in ASP.Net Core 3.0

A lot of times, we need to create applications that need some sort of time-based scheduling. Hangfire helps us right there. Hangfire provides a very easy and fluent way to create and manage scheduled jobs. The disadvantage of creating a solution for scheduling job from scratch are the following: Firstly, it is usually cumbersome and … Read more

Streaming and Authentication in gRPC (ASP.Net Core)

In this blog, I am going to cover Streaming and Authentication for gRPC services in ASP.Net Core. In my last blog post, I covered basic concepts of gRPC in ASP.Net core. I will strongly suggest going through the previous blog post before going through this one. As I will be using the project created on … Read more