AspNetCoreRateLimit
AspNetCoreRateLimit copied to clipboard
Rate limiting is not working for asp.net core with kestrel web server
应该是在.net7以上不起作用吧
var host = builder.Build(); using (var scope = host.Services.CreateScope()) { await scope.ServiceProvider.GetRequiredService < IIpPolicyStore > ().SeedAsync(); } host.UseRouting(); host.UseIpRateLimiting();