-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Built-in Rate Limiting support - part of .NET 7 #382
Comments
I believe the built in support is overall and not per IP? |
This can be accomplished using the PartitionedRateLimiter. Using the built in PartitionedRateLimiter.Create method and defining a partition per IP. |
It could only be applied on Global level. |
Any migration guidelines on how to switch over with Redis support from this nuget to new one? EDIT: I am using |
there is any way to implement RateLimit Based on IP v6 in .net7 ? |
So far (.net8) Microsoft.AspNetCore.RateLimiting is not good, although it is built-in, but not as good as AspNetCoreRateLimit out of the box |
Hi everyone, |
I would suggest to keep using the current features, Microsoft is always slow to move officially, still no need to integrate the old features into the new repository, right? |
Hi, I'm upgrading a web API project from .NET 6 to .NET 8. Would you recommend continuing to use AspNetCoreRateLimit? I've tested the package, and there seem to be breaking changes. |
So it looks like AspNetCoreRateLimit still has advantages over .NET 8’s built-in rate limiting (e.g., IP & ClientId based rate limiting per endpoint). However, aspnetcore-redis-rate-limiting fully integrates with .NET 8’s rate limiting middleware for request-based distributed rate limiting but lacks some of the features this project offers. I also noticed several open PRs and issues on this project. Are these going to be addressed or is all future work only on aspnetcore-redis-rate-limiting? @cristipufu |
If you haven't heard yet, .NET 7 comes with built-in support for Rate Limiting (in-memory): https://devblogs.microsoft.com/dotnet/announcing-rate-limiting-for-dotnet/
I have created another repository for multi-node deployments (with Redis) and my future contributions will be focused on this new library: https://github.com/cristipufu/aspnetcore-redis-rate-limiting
The text was updated successfully, but these errors were encountered: