YARP
AspNetCoreRateLimit
YARP | AspNetCoreRateLimit | |
---|---|---|
35 | 5 | |
8,087 | 3,055 | |
3.5% | - | |
8.9 | 1.0 | |
5 days ago | about 1 month ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
YARP
-
Is Internet facing Kestrel in dotnet 7.0+ safe?
Adding to the other answers here, you might find some useful functionality in YARP if you want a pure .NET reverse proxy. Like Kestrel, Microsoft dogfoods YARP in Azure.
- Self hosting a proxy server, for use with HttpClient.
-
.NET Monthly Roundup - January 2023
➡️ Release 2.0.0-RC.1 · microsoft/reverse-proxy · GitHub ➡️ Visual Studio 2022 17.5 Preview 3 is here!
- converting framework4.8 webapps to NetCore (Net5,6,7). any apps available to help?
- Issue: ERR_SSL_PROTOCOL_ERROR for DigitalOcean Droplet
- Injecting a unique ID between two TCP streams
-
ASP.NET Core rate limiting middleware in .NET 7
In your application, you may be using YARP, to build a reverse proxy gateway sitting in front of various backend applications. For example, you may run YARP to listen on example.org, and have it proxy all requests going to this domain while mapping /api and /docs to different web apps running on diffreent servers.
-
Cloudflare Ditches Nginx For In-House, Rust-Written Pingora
Microsoft already made YARP for their Azure infrastructure, it's a "build your own reverse proxy" kit.
-
Running multiple processes on the same port in .NET Core 3.1
If I was to need one I would probably reach for YARP (Yet Another Reverse Proxy) from MS. https://microsoft.github.io/reverse-proxy/
-
Kestrel as a reverse proxy?
Microsoft's YARP is exactly this.
AspNetCoreRateLimit
-
.Net 7 rate limiting with redis distributed cache with tenant based architecture
AFAIK the new built-in rate limiting only supports in-memory counters at the moment. You will need to use the old open source rate limiting package instead: https://github.com/stefanprodan/AspNetCoreRateLimit
-
ASP.NET Core rate limiting middleware in .NET 7
In this post, I wanted to give you some insights about how you can use the ASP.NET Core rate limiting middleware. It’s not as complete as Stefan Prodan’s AspNetCoreRateLimit, but there are enough options available to add rate limiting to your application.
- Can I protect an controller endpoint from getting brute forced?
-
How to implement API Rate limiting/throttling [.Net Framework 4.5]
Have a look at this package: https://github.com/stefanprodan/AspNetCoreRateLimit
-
Stream Emojis - Build it yourself 🛠
Eventually I got around to implementing rate limiting on the endpoints, for the dotnet Core WebApi it is really easy to add thanks to the AspNetCoreRateLimit NuGet package. I chose to limit the endpoint to 2 requests per second, per IP Address as well as a limit of 10 requests per 30 seconds per IP Address. Then on the front end I added some messages to let the user know that they are being rate limited and we also limit their ability to spam the same emoji multiple times.
What are some alternatives?
envoy - Cloud-native high-performance edge/middle/service proxy
Ocelot - .NET API Gateway
IdentityServer - The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
SoapCore - SOAP extension for ASP.NET Core
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
practical-aspnetcore - Practical samples of ASP.NET Core 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
Serilog - Simple .NET logging with fully-structured events
Carter - Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
Nginx - An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
nopCommerce - ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
Fake JSON Server - Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
Electron.NET - :electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).