/PlayingWithOcelot

Try out Ocelot, an open-source .NET Core API Gateway.

Primary LanguageC#

Playing with Ocelot

This is a small .NET Core WebAPI application to try out Ocelot. An open-source .NET Core API Gateway.

Better way for API gateway is YARP.

Getting Started

  1. Nuget: Install-Package Ocelot.
  2. Configuration: create ocelot.json and define the ReRoutes.
  3. Program: configBuilder.AddJsonFile("ocelot.json").
  4. Startup: services.AddOcelot.
  5. Startup: app.UseOcelot().
  6. Run.

Resources