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

gRPC in ASP.Net Core

gRPC is an open-source, high-performance RPC framework. In this blog, I am going to cover gRPC in ASP.Net Core. We can use gRPC within or across data centers. We can use gRPC in mobile applications, web applications as well as edge computing as a backend service. Google was the first to develop gRPC, later it … Read more

Middleware in ASP.Net Core

Middleware in ASP.Net Core is software components that are assembled into the HTTP pipeline to handle requests and response. A middleware component can either choose to pass the request to the next component in the pipeline. Or it may choose to end the request. Middleware can perform tasks both before as well as after the … Read more

ASP.Net Core Authorization (Role-based and Policy-based Authorization)

In this blog, I am going to take a deep-dive into ASP.Net Core Authorization. Authorization is the process to find out what action a user can perform. In the case of a REST API, it can be the resources a user can access. Or a particular HTTP verb associated with a resource. For example, let … Read more