1
Answer

How to configure and use Ocelot in .Net 6 ???

Stock Sund

Stock Sund

3y
1.9k
1

I created a Web Api project to use as gateway (Dotnet 6.0) and added Ocelot support to it. Now, I can route requests through Ocelot's Up/Down stream service (Json config file) but when I add a controller to the Web Api project, (Controller class extending ControllerBase), Ocelot will work but not the api controller. If I disable Ocelot on Program.c, then the api controller are back again.

I need both to be available, Ocelot routing and the project api controllers. Any ideas?

Answers (1)