AspNetCoreRateLimit is middleware for limiting requests to ASP.NET Core Web APIs and MVC applications. It can identify callers by IP address or client ID and apply separate policies to each category. Rules may target an entire application or specific endpoints, HTTP verbs, and URL paths. Administrators can define several quotas over intervals such as seconds or minutes and update those rules during runtime. The response returned after a quota is exceeded can be customized, and Redis can serve as a distributed counter store. The package is useful for established ASP.NET Core applications, although newer .NET versions also include built-in rate-limiting support.

Features

  • IP-based request limiting
  • Client ID rate limiting
  • Endpoint and HTTP verb rules
  • Multiple configurable time quotas
  • Runtime policy updates
  • Redis distributed counter storage

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow AspNetCoreRateLimit

AspNetCoreRateLimit Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AspNetCoreRateLimit!

Additional Project Details

Programming Language

C#

Related Categories

C# Libraries

Registered

2026-07-17