AspNetCoreRateLimit
Ocelot
Our great sponsors
AspNetCoreRateLimit | Ocelot | |
---|---|---|
5 | 7 | |
3,048 | 8,125 | |
- | 0.8% | |
1.0 | 8.5 | |
29 days ago | 6 days 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.
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.
Ocelot
-
Proxy a bulk request to a none bulk endpoint in ASP.Net
Sounds like you need some kind of ETL. The only dotnet library I know, which supports request aggregation, is Ocelot (https://github.com/ThreeMammals/Ocelot). But I doubt it is the only one out there.
-
What API Gateway to use for .net microservice project?
They seems to recommend https://github.com/ThreeMammals/Ocelot
-
Some useful Libraries for .NET projects
Ocelot Github Nuget: Install-Package Ocelot -Version 17.0.0
-
An Introduction to Microservices pt. 2
Ok, now that you created you Web API, it's time to work on your API Gateway. Start by adding the Ocelot package to your Gateway project:
-
Authentication with multiple .net core apis
Discovered Ocelot and it looks like a good place to start, so you have any thoughts on that?
-
Opensource API GW that allows transformation and logic/policy creation?
I'd look for an open-source gateway using the programming language that you're familiar with. I was working multiple times with the custom API GW (including building my own for fun), and if you're familiar e.g. with C# take a look at this one https://github.com/ThreeMammals/Ocelot or even better https://github.com/microsoft/reverse-proxy If you need to build something really custom, there's a small chance that you will find a plug & play solution.
-
Atlassian Cloud ToS section 3.3(I) prohibits discussing performance issues
Lol, i guess your answer explains a lot about relevant knowledge into web architecture
Eg. Ocelot - https://github.com/ThreeMammals/Ocelot
What are some alternatives?
SoapCore - SOAP extension for ASP.NET Core
RestSharp - Simple REST and HTTP API Client for .NET
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.
Refit - The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
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.
nopCommerce - ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
Simple.OData.Client
Electron.NET - :electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
RestEase - Easy-to-use typesafe REST API client library for .NET Standard 1.1 and .NET Framework 4.5 and higher, which is simple and customisable. Inspired by Refit
aspnetcore-redis-rate-limiting - Set up a Redis backplane for ASP.NET Core multi-node deployments, using the built-in Rate Limiting support that's part of .NET 7 and .NET 8.
Flurl.Http - Fluent URL builder and testable HTTP client for .NET