| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.0.0 source code.tar.gz | 2021-05-25 | 26.9 kB | |
| 4.0.0 source code.zip | 2021-05-25 | 68.4 kB | |
| README.md | 2021-05-25 | 1.4 kB | |
| Totals: 3 Items | 96.6 kB | 0 | |
Bug fixes:
- Prevent calling virtual method RegisterResolvers inside constructor https://github.com/stefanprodan/AspNetCoreRateLimit/pull/170
- Lower the lower bound for ASP.NET Core 2.1 support w/o conflicts https://github.com/stefanprodan/AspNetCoreRateLimit/commit/a268f903efce34c0a78341cbbc2df0109266d3fa
- Fix resolvers: https://github.com/stefanprodan/AspNetCoreRateLimit/commit/5434672e3c5c16cdf82bc3482ccd27e4db6adc5d
Features:
- Changes to support async ResolveClient within IClientResolveContributor https://github.com/stefanprodan/AspNetCoreRateLimit/pull/168
- Remove unnecessary dependency on the IHttpContextAccessor https://github.com/stefanprodan/AspNetCoreRateLimit/pull/175
- Add endpoint quota exceeded response https://github.com/stefanprodan/AspNetCoreRateLimit/pull/205
- Allow a Processing Strategy to be injected and configured via new startup extension methods (support for atomic Redis increment - many thanks to @nick-cromwell) https://github.com/stefanprodan/AspNetCoreRateLimit/pull/180
How to inject the [processing strategy] (https://github.com/stefanprodan/AspNetCoreRateLimit/blob/master/src/AspNetCoreRateLimit/StartupExtensions.cs) if you're not using the default Startup extensions:
:::C#
services.AddSingleton<IProcessingStrategy, AsyncKeyLockProcessingStrategy>();
// services.AddSingleton<IProcessingStrategy, RedisProcessingStrategy>();