In this post, we’re taking a look at YARP (Yet Another Reverse Proxy) as a way to rate limit your APIs by using it as an API gateway. Last week I posted a blog about rate limiting in your C# applications. If you haven’t read that article yet, check it out here. YARP, also known as Yet Another Reverse Proxy, is being developed by Microsoft internally and is fully open-source. It comes with additional features like rate limiting, authentication, gRPC, making it a viable alternative to Azure API Management. In the post, we discuss the importance of rate limiting in protecting your systems and how API gateways like YARP can simplify the process. We also touch on YARP configuration for rate limiting and provide a solution architecture example with legacy and new systems. If youre new to YARP, you can check out their Getting Started Guide or clone the Basic YARP Sample. Overall, leveraging YARP for rate limiting can greatly enhance the security and manageability of your APIs.