Hi kopellashank0...,
Ocelot is a set of middleware that you can apply in a specific order.
Ocelot is designed to work with ASP.NET Core only. The latest version of the package is 18.0 which targets .NET 6 and hence is not suitable for .NET Framework applications.
The main functionality of an Ocelot is to take incoming HTTP requests and forward them on to a downstream service, currently as another HTTP request. Ocelot's describes the routing of one request to another as a ReRoute.
You need to install Ocelot and its dependencies in your ASP.NET Core project with Ocelot's NuGet package.
Install-Package Ocelot
Then in Program.cs you need to cconfigure it.
For more details refer below link.
https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/implement-api-gateways-with-ocelot