In a Microservices architecture there are lots of URL where request to the microservices is made. Therefore, API Gateway like Ocelot comes to be very handy. An API Gateway transforms the Incoming HTTP Request from the client and forward it to an appropriate Microservice. Ocelot has a JSON configuration file that states the upstream and downstream routes.
You can find the complete Source Code at my GitHub Repository.
Page Contents
Building Ocelot API Gateway
Configuring Routes for Ocelot API Gateway