How to Use Rate Limiting in ASP.NET Core WebAPI

preview_player
Показать описание
Rate limiting is the concept of restricting access to an API based on the number of requests. Rate limiting can serve three purposes.

1. Improves security
2. Saves money
3. Allows implementing paid APIs

In this video, we will learn how to use the rate limiting introduced in .NET 7 using an ASP.NET Core WebAPI application.

00:00 Introduction
01:24 Defining and Applying a Rate Limiter (Minimal APIs)
03:27 Testing the Rate-Limited API
05:09 Rate Limiting a Controller-based Project
06:34 The 4 Rate Limiter Algorithms
09:52 Queueing Requests
11:47 Testing Rate Limited Endpoints
12:27 Conclusion

🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*

📌 .NET Developer Roadmap

📌 YouTube Playlists:

📌 Rate Limiting in .NET 7 (JMeter Tests) by @alexthecodewolf

✅ SUBSCRIBE FOR MORE VIDEOS

🚀 CONNECT & SUPPORT

CREDITS

* Affiliate Link: I earn a small commission at no additional cost
Рекомендации по теме
Комментарии
Автор

Excellent introduction to the topic. It gave me all I needed to know jumping into the topic without overloading me, was well presented and organized, and had some great examples.

JennerNuwen
Автор

日本ではまだ Rate Limiter
とても分かりやすい解説でした。
ありがとうございます。

konndai
Автор

Are you using rate limiting for your ASP.NET Core WebAPI applications? 🤔

ClaudioBernasconi
Автор

Thank you for your valuable content!❤ Keep it up i just gave a sub a few days ago since I saw your contribution to the video where the question were asked what makes a good software engineer. 😊 I consistently try to extend my knowledge and get to know great people!👍 Thanks again

DeepWorksStudios
Автор

Excellent topics. It improve more statages

vijayarajan-btfk
Автор

thx. Very good explanation of this theme!

volibita
Автор

Will it work correctly if there 2 or more API instanses?

nazariikyryliuk