[Tin tức] How to rate limit (throttle) your ASP.NET Core API



Become a Patreon and get source code access:
Check out my courses:

Hello everybody I’m Nick and in this video I am going to show you how you can rate limit, or throttle, your ASP.NET Core APIs. Rate limiting is vital for your public APIs because it prevents abuse by bad actors. You can also sell access to specific endpoints or the API as a whole with different rules. We will be using a Nuget package called AspNetCoreRateLimit.

Give AspNetCoreRateLimit a star on GitHub:

Timestamps
Intro – 0:00
IP based rate limiting – 1:10
Client based rate limiting – 8:49
Distributed rate limiting with Redis – 13:39

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub:
Follow me on Twitter:
Connect on LinkedIn:

Keep coding merch:

#csharp #dotnet #aspnetcore

40 bình luận về “[Tin tức] How to rate limit (throttle) your ASP.NET Core API”

  1. First of all, thank you so much for your videos! They are very helpfull. 👏👏
    So, I'm trying use this package and I follow everything as you show but when I make a request for my API I didn't get the response headers related to the throttling. Any idea what could be? I missing something? It as a simple ASP Web API .NET 5 project. Thank you!

    Bình luận
  2. Nothing to do with this video, all of them you make are extraordinary indeed, but just wanted to say, you are killing us, when I say us I mean us (Java Developers). You really sometimes make me believe that nothing can be compared with C#… Yes, yes… I know the old good saying "You know, everything has its own purpose, and depends where and how you use it. :)", Again, Brilliant work Nick. Euxaristume!

    Bình luận
  3. Always love your content. I have a question here. Can i do such configuration at IIS level, like defining route based rate limiting based on client ip. I ended up creating an action filter that interacts with redis to achieve distributed ip based rate limiting and using that filter on action methods.

    Bình luận

Viết một bình luận

bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
antalya bayan escort
antalya bayan escort
antalya bayan escort