.NET API gateway for service-oriented systems that need a unified HTTP entry point
MIT
- C#
- HTML
- Dockerfile

About Ocelot
Ocelot is a .NET API gateway for service-oriented and microservices systems that need a single point of entry. It sits in front of downstream services and works with anything that speaks HTTP(S) on platforms supported by ASP.NET Core.
Under the hood it is an ordered set of ASP.NET Core middlewares: requests are shaped from configuration, rebuilt as a downstream request, sent on, and the response is mapped back to the client. Core capabilities include routing, request aggregation, metadata, delegating handlers, and middleware injection for custom behavior.
Ocelot targets net8.0, net9.0, and net10.0 and installs as a NuGet package or through the .NET CLI, dropping into an existing ASP.NET Core application. It is released under the MIT License.
Key features
- Configuration-driven request handling and routing
- ASP.NET Core middleware pipeline
- Delegating handlers and middleware injection
- Works with HTTP(S) downstream services
- NuGet package install and .NET CLI install
Details
- First released
- 2016
- Framework
- ASP.NET Core · .NET 8/9/10
- Deployment
- self-hostable
- Package manager
- NuGet
- Written in
- C#
- License
- MIT
