A .NET API Gateway for microservices architectures, providing routing, authentication, and load balancing.
Ocelot is a .NET API Gateway that provides a single entry point for managing and routing requests in microservices architectures. It handles essential functions like authentication, load balancing, and service discovery, simplifying communication between clients and backend services. Built as a series of ASP.NET Core middlewares, it offers flexibility and integration with modern .NET ecosystems.
Developers and teams using .NET to build or maintain microservices architectures who need a lightweight, configurable API gateway. It's particularly valuable for organizations implementing service-oriented designs that require centralized request management.
Ocelot stands out as a native .NET solution that integrates seamlessly with ASP.NET Core, offering a familiar development experience. Its middleware-based architecture allows for extensive customization, and it provides enterprise-grade features like service discovery and rate limiting without the overhead of commercial API management platforms.
.NET API Gateway
Seamlessly built on ASP.NET Core, targeting .NET 8, 9, and 10, making it a familiar choice for .NET developers and easy to integrate into existing ecosystems, as highlighted in the install section.
Offers solid features like caching and rate limiting, plus hybrid features such as request aggregation and service discovery with providers like Consul and Kubernetes, providing comprehensive API management capabilities.
Allows deep customization through ASP.NET Core middlewares, metadata, and delegating handlers, enabling developers to tailor behavior without heavy infrastructure, as noted in the features and documentation.
Integrates with popular service discovery tools including Consul, Kubernetes, Eureka, and Service Fabric, facilitating dynamic routing in microservices architectures, as detailed in the key features and notes.
Does not directly support GraphQL; developers must manually integrate external libraries like GraphQL for .NET, adding complexity for teams needing GraphQL APIs, as admitted in note 6 of the README.
Advanced features require intricate configuration via JSON files or code, with dependencies between features like administration and authentication, which can steepen the learning curve for new users.
Lacks a graphical interface for configuration or monitoring, relying on REST APIs and file-based setups, which may be less intuitive compared to gateway solutions with dashboards.
Key features like rate limiting and QoS depend on third-party NuGet packages such as Ocelot.Provider.Polly, introducing potential versioning and maintenance overhead.
The Cloud Native Application Proxy
The Cloud-Native API Gateway and AI Gateway
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.