aspnetcore-redis-rate-limiting
aspnetcore-redis-rate-limiting copied to clipboard
Set up a Redis backplane for ASP.NET Core multi-node deployments, using the built-in Rate Limiting support that's part of .NET 7 and .NET 8.
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 8.0.0 to 8.0.1. Release notes Sourced from Microsoft.EntityFrameworkCore.Design's releases. .NET 8.0.1 Release Commits 423b1a0 [internal/release/8.0] Update dependencies from dnceng/internal/dotnet-runtime 4c95cef [internal/release/8.0] Update dependencies from dnceng/internal/dotnet-runtime 04c2fa5 [internal/release/8.0]...
Bumps [xunit.extensibility.core](https://github.com/xunit/xunit) from 2.6.1 to 2.6.5. Commits 7f82765 v2.6.5 98f19dd Updated tests (for analyzer exclusions) 298b1b1 #2854: Add constructors and AddRange for TheoryData<T> 36fe729 Bump up to v2.6.5-pre 0f87ff7 v2.6.4...
Custom middleware ```diff public interface IRateLimiterPolicy { Func? OnRejected { get; } + Func? OnAcquired { get; } } ``` ```diff public sealed class RateLimiterOptions { public Func? OnRejected {...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.3 to 2.5.6. Commits bf9b858 v2.5.6 b05cd38 Latest dependencies 3423937 Experiment: Rename adapter assembly 0e604e4 Experiment: Remove all file copies 6dff757 Bump up to v2.5.6-pre 28b46ff v2.5.5...
https://github.com/dotnet/aspnetcore/issues/44907 ```C# [EnableRateLimiting("policy_fixed_window", "policy_concurrency")] public class DemoController : ControllerBase ```
Hey, thanks for providing this useful package. I was wondering if there is a way to configure a prefix for the redis key? Currently, it could lead to problems if...
Bumps [System.Threading.RateLimiting](https://github.com/dotnet/runtime) from 7.0.1 to 8.0.0. Release notes Sourced from System.Threading.RateLimiting's releases. .NET 8.0.0 Release .NET 8.0 RC 2 Release .NET 8.0 RC 1 Release .NET 8.0 Preview 7 Release...
Hello, That is a great package. I have tested with multiple instances of same api behind a loadbalancer. It seems to be working well. But have you tried it with...
Being able to apply Rules to a controller's action by just defining endpoint and limit settings in appsettings.json similar to how it is done in AspNetCoreRateLimit. Want to be able...
Use `RateLimiter.GetStatistics()` + `OpenTelemetry.Metrics` 