Ocelot

.NET API Gateway

8.7k
Stars
+31
Gained
0.4%
Growth
C#
Language

💡 Why It Matters

Ocelot provides a unified API gateway solution specifically tailored for .NET microservices architectures, enabling teams to route, aggregate, and secure HTTP requests through a configurable middleware pipeline in ASP.NET Core. Unlike more generic API gateways, it integrates tightly with IdentityServer for handling OAuth2 bearer tokens without requiring custom middleware, which benefits backend engineers and DevOps teams managing authentication in .NET environments. With over 8,700 stars and recent commits as of late 2026, it shows ongoing maintenance but lacks significant recent growth signals, suggesting a stable but niche user base. It is not suitable if your stack is outside the .NET ecosystem or requires features common in more language-agnostic gateways like Kong or Envoy, especially if you need advanced service mesh capabilities or non-HTTP protocols support.

🎯 When to Use

Choose Ocelot when you have a microservices architecture built on ASP.NET Core and need a straightforward API gateway that integrates with IdentityServer for token validation. If you require a gateway that supports multiple platforms or advanced routing beyond HTTP, consider Kong or Envoy instead, as those offer broader protocol support and more extensive ecosystem integrations.

👥 Team Fit & Use Cases

Ocelot is typically used in .NET-based microservices systems where teams want a single entry point for their APIs with built-in support for OAuth2 security via IdentityServer. Common scenarios include enterprise internal APIs, backend-for-frontend patterns, or lightweight edge routing for cloud-hosted services within Microsoft technology stacks.

🎭 Best For

🏷️ Topics & Ecosystem

api-gateway aspnetcore dotnet gateway microservices ocelot reverse-proxy

📊 Activity

Latest commit: 2026-11-23. Over the past 226 days, this repository gained 31 stars (+0.4% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.