An open API service indexing awesome lists of open source software.

https://github.com/aimenux/webapiratelimitingdemo

Using rate limiting middleware in web api projects
https://github.com/aimenux/webapiratelimitingdemo

fluent-validation mediatr net80 rate-limiting serilog webapi

Last synced: 8 months ago
JSON representation

Using rate limiting middleware in web api projects

Awesome Lists containing this project

README

          

[![.NET](https://github.com/aimenux/WebApiRateLimitingDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/WebApiRateLimitingDemo/actions/workflows/ci.yml)

# WebApiRateLimitingDemo
```
Using rate limiting middleware in web api projects
```

> In this repo, i m using the [built-in rate limiting middleware](https://learn.microsoft.com/en-us/aspnet/core/performance/rate-limit) in web api projects
>
> :one: `Example01` : use controller api style
>
> :two: `Example02` : use minimal api style
>
>
>

**`Tools`** : net 8.0, mediatr, fluent-validation, serilog