How to Use Rate Limiting in ASP.NET Core WebAPI



How to Use Rate Limiting in ASP.NET Core WebAPI

How to Use Rate Limiting in ASP.NET Core WebAPI

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)*
https://claudiobernasconi.ch/dotnet-course

📌 .NET Developer Roadmap
https://claudiobernasconi.ch/learn-dotnet

📌 YouTube Playlists:
The FREE Blazor Crash Course: https://www.youtube.com/watch?v=89Klc6WHElw&list=PLwISgxnkpZGL_LhTQCWwp-WCzupv7lcp0
C# Programming: https://www.youtube.com/watch?v=dKBuvdGsYYc&list=PLwISgxnkpZGIrkQGwOj6kKXLT8CAp9Gct

📌 Rate Limiting in .NET 7 (JMeter Tests) by @alexthecodewolf
https://youtu.be/vpeddZPkfAw

✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 https://claudiobernasconi.ch/Subscribe

🚀 CONNECT & SUPPORT
Twitter: https://twitter.com/CHBernasconiC
Blog: https://claudiobernasconi.ch
Newsletter: https://claudiobernasconi.ch/newsletter

CREDITS
🎵 https://www.bensound.com/

* Affiliate Link: I earn a small commission at no additional cost

Comments are closed.