NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #1029 most downloaded on NuGet
ASP.NET Core rate limiting middleware
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 1.5 years
Some releases are documented
notes for 11 of 21 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
22 releases · first in 2016
Remove end-of-support target frameworks:
Remove end-of-support target frameworks:
This will work on NET 6.0+
NET 6 support: #285 Regex match fixes: #263 Quota response fixes: #244 Remove unused counter store dependencies Fix Redis strategy (AspNetCoreRateLimi
One column per quarter.
Fix #224 - request path ending with '/'
Prevent calling virtual method RegisterResolvers inside constructor #170
Bug fixes:
Features:
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:
services.AddSingleton<IProcessingStrategy, AsyncKeyLockProcessingStrategy>();
// services.AddSingleton<IProcessingStrategy, RedisProcessingStrategy>();Support net5.0 target framework
Target both netstandard2.0 & netcoreapp3.1: 0897e10
Target both netstandard2.0 & netcoreapp3.1: 0897e10
Fix identity resolvers bug: #147
Nothing published for this version
Nothing published for this version
https://github.com/stefanprodan/AspNetCoreRateLimit/wiki/Version-3.0.0-Breaking-Changes
https://github.com/stefanprodan/AspNetCoreRateLimit/wiki/Version-3.0.0-Breaking-Changes
Pull request with more details: #63
Nothing published for this version
Nothing published for this version
Cristi Pufu edited this page Dec 12, 2020 · 2 revisions
Jump to bottom
Cristi Pufu edited this page Dec 12, 2020 · 2 revisions
The target framework has been updated to netstandard2.0 .
We have to manually seed the appsettings.json policies:
public static async Task Main ( string [ ] args ) { IWebHost webHost = CreateWebHostBuilder ( args ) . Build ( ) ; using ( var scope = webHost . Services . CreateScope ( ) ) { // get the ClientPolicyStore instance var clientPolicyStore = scope . ServiceProvider . GetRequiredService < IClientPolicyStore > ( ) ; // seed Client data from appsettings await clientPolicyStore . SeedAsync ( ) ; // get the IpPolicyStore instance var ipPolicyStore = scope . ServiceProvider . GetRequiredService < IIpPolicyStore > ( ) ; // seed IP data from appsettings await ipPolicyStore . SeedAsync ( ) ; } await webHost . RunAsync ( ) ; }
// configure the resolvers services . AddSingleton < IRateLimitConfiguration , RateLimitConfiguration > ( ) ;
You can’t perform that action at this time.
use the first IP when multiple IPs are present in the RealIpHeader #10
added wildcard matching for routes #25
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →