Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limiting is not working for asp.net core with kestrel web server #429

Open
diwakarrjit opened this issue Mar 29, 2023 · 2 comments
Open

Comments

@diwakarrjit
Copy link

No description provided.

@izhaorui
Copy link

izhaorui commented May 8, 2023

应该是在.net7以上不起作用吧

@BruceQiu1996
Copy link

var host = builder.Build();
using (var scope = host.Services.CreateScope())
{
await scope.ServiceProvider.GetRequiredService < IIpPolicyStore > ().SeedAsync();
}
host.UseRouting();
host.UseIpRateLimiting();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants