API

Request throttling in .NET Core MVC

Security in apis are important and we might not want the apis we build to be overly used. I built a small attribute function that allows for throttling of a specific endpoint.

Johan Boström

2 minute read

Security in apis are important and we might not want the apis we build to be overly used. This could be to prevent DDoS attacks or to make sure no one tries to brute-force-use your api. To solve this problem I built a small attribute function that allows for throttling of a specific endpoint.