Introduction

This is a series of two articles that will help you to learn about rate limiting and how can it be applied in a microservice or .net core API.

It will cover the following topics:

Difference between Rate Limiting and Throttling

Hands-on Lab – Implement Rate limiting using a Custom Middleware

Steps to be followed:

This is how we implement rate limiting using Custom Middleware, along with the difference between throttling and rate limiting.

In the series of two articles, we have covered both approaches to implementing rate limiting on .NET Core API.

I've attached the source for your reference.

I hope you see you again in the next article.

Happy learning!