Callback function for API rate limiter and Sliding window rate limiter

Опубликовано: 10 Октябрь 2024
на канале: DotNet Core Central
907
23

In this video, I will cover the Sliding window rate limiter and the callback from the rate limiter, when the rate limit is triggered.

00:00 - Introduction
02:01 - Explaining details of Sliding window rate limiter
03:04 - Adding sliding window rate limiter to DI
07:04 - Testing sliding window rate limiter
08:18 - OnRejected callback implementation
09:30 - Scenarios where OnRejected callback can be used
10:18 - Output from the OnRejected callback

#csharp #dotnet #dotnet7 #csharp11 #webapi

Video with rate limiting basics:    • Easy way to limit rate of API request...  
Concurrency rate limiter:    • Concurrency rate limiter to limit req...  

Some of my popular videos:

Elasticsearch with .NET and introduction:    • An Introduction to Elasticsearch (Bui...  

Hangfire Scheduling an introduction:    • Scheduling recurring jobs with Hangfi...  

ASP.NET Core Authentication with JWT (JSON Web Token):    • ASP.NET Core Authentication with JWT ...  

Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1):    • Running Background tasks using IHoste...  

How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes):    • How to build an API Gateway in ASP.NE...  

My blog site: https://dotnetcorecentral.com