Implementing a Concurrency Rate Limiter in ASP.NET Web API

In modern web applications, controlling the rate of requests using a concurrency rate limiter to your APIs is essential for maintaining performance and preventing abuse. While fixed window rate limiting is a common approach, this guide focuses on implementing a concurrency request rate limiting in ASP.NET Web API, which limits the number of concurrent requests … Read more

Redis Cache in .Net Core – Docker Container

Using a caching solution becomes important when we are building a high performant web-based application or micro-services system. I wrote about using Memcached as a distributed caching solution in my previous blog. In today’s blog, I am going to take a deep dive into Redis Cache as a distributed in-memory caching solution for .Net Core. … Read more

Microservice resilience – Circuit Breaker using polly in .Net Core

In a microservices environment, usually, multiple services talk to each other either. Some cases through HTTP calls, whereas in other cases using an event bus or queues. Circuit Breaker is an important pattern which helps to make microservices more resilient in these communication patterns. When services communicate with each other through HTTP calls, there is … Read more

ASP.Net Core Web API – Integration Testing With XUnit

Hello everyone, welcome back to .Net Core Central. Today I am going to start the Integration testing of the Time Management application. The application which I have started building from my blog post Creating First ASP.Net Core Web API Application. For the integration test I will use XUnit framework as the testing framework. This is … Read more

ASP.Net Core Web API – Unit Testing With XUnit

Hello everyone, welcome back to .Net Core Central. Today I am going to start with Unit testing of the Time Management application, that I have started building from my blog post Creating First ASP.Net Core Web API Application. I will be using XUnit as the testing framework. What is Unit Testing In a nutshell Unit … Read more

ASP.Net Core Web API Application with Dapper – Part 2

Hello everyone, welcome back to .Net Core Central. In addition to my last post, today I am going to continue with the CRUD application using ASP.Net Core Web API and Dapper. This is the continuation of the previous post ASP.Net Core Web API Application with Dapper – Part 1. If you have not read the … Read more

ASP.Net Core Web API Application with Dapper – Part 1

Hello everyone, welcome back to .Net Core Central. Today I am going to build a simple CRUD application using ASP.Net Core Web API and Dapper. I will create a Time Management software, and this post will be the first step towards it. In this post, I will create the basic GET API operation for viewing … Read more

Creating First ASP.Net Core Web API Application

I am back with my second post on .Net Core focusing on ASP.Net Core. This time I am going to try a ASP.Net core Web API application. This will be a starter application to show the basics of Asp.Net Core Web API. In the future posts I will be building on top of this application. … Read more