MvcThrottle filter is designed for controlling the rate of requests that clients can make to a website based on IP address, request route, user-agent and client identity. You can set multiple limits for different scenarios like allowing an IP to make a maximum number of calls per second, per minute, per hour or per day. You can define these limits to address all requests made to your website or you can scope the limits to each Controller, Action or URL, with or without query string params.
If you are looking for the ASP.NET Core version please use AspNetCoreRateLimit package
- Microsoft.AspNet.Mvc (>= 5.1.0)