A sample application using ASP.NET Core Minimal APIs that demonstrates usage of the Rate-Limit policy available in Polly version 7.2.3 and later.
To debug the application locally outside of the integration tests, you will need
to create a GitHub OAuth app to obtain secrets for the GitHub:ClientId
and
GitHub:ClientSecret
options so that the OAuth user authentication works and
you can log into the Todo App UI.
💡 When creating the GitHub OAuth app, use
https://localhost:5001/sign-in-github
as the Authorization callback URL.
⚠️ Do not commit GitHub OAuth secrets to source control. Configure them with User Secrets instead.
Compiling the application yourself requires Git and the .NET SDK to be installed.
To build and test the application locally from a terminal/command-line, run the following set of commands:
git clone https://github.com/martincostello/polly-rate-limiting.git
cd polly-rate-limiting
./build.ps1
Any feedback or issues can be added to the issues for this project in GitHub.
The repository is hosted in GitHub: https://github.com/martincostello/polly-rate-limiting.git
This project is licensed under the Apache 2.0 license.