Ocelot
.NET API Gateway (by ThreeMammals)
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 (by canton7)
Our great sponsors
Ocelot | RestEase | |
---|---|---|
7 | 11 | |
8,108 | 1,036 | |
0.9% | - | |
8.5 | 4.6 | |
3 days ago | 4 months ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Ocelot
Posts with mentions or reviews of Ocelot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-02.
-
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:
-
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
RestEase
Posts with mentions or reviews of RestEase.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
Best way to implement base class for API calls?
If Swagger/OpenAPI is available, save yourself a lot of trouble and generate the client using OpenAPI Generator. If not, use a library like RestEase to make it significantly easier to create the client.
-
ASP.NET Core - how to properly make a GET request?
Use RestEase to create your own client library. Refit is a very similar and more popular library. IMO RestEase is an improvement over Refit and I prefer it, but either will solve your problems. Both are libs that have you build interfaces describing the API endpoints, then the library handles all the boilerplate code that calls HttpClient.
-
Is it a best practice to use NSwag generated code for calls to a local web API?
I haven't tried this myself, but to take it a step further from just sharing request types you could try using RestEase.
-
Creating and Using HTTP Client SDKs in .NET 6
Honorable mentions: RestEase, RESTFulSense
-
API url strings throughout UI
Take a look at RestEase: https://github.com/canton7/RestEase
What are some alternatives?
When comparing Ocelot and RestEase you can also consider the following 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.
RestSharp - Simple REST and HTTP API Client for .NET
SoapCore - SOAP extension for ASP.NET Core
Simple.OData.Client
Flurl.Http - Fluent URL builder and testable HTTP client for .NET
Zuul - Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
AspNetCoreRateLimit - ASP.NET Core rate limiting middleware
NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.