Implementing an API Gateway in ASP.NET Core with Ocelot

Learn what an API Gateway is and how to build yours in ASP.NET Core by using Ocelot.
Read more…

:writing_hand:t2: Brought to you by @joydipkanjilal

What’s up Devs! How did you like this post? Please share any comments or feedback with us on this thread :speaking_head:

Can you explain the below line -
services.AddOcelot(Configuration);

What does Configuration mean this context. Is it an object or do we need to add any namespace for it

Tagging article author here @joydipkanjilal for visibility!

The AddOcelot overloaded method adds ocelot services - in this example, we’re passing an instance of type IConfiguration (the instance name is Configuration) to the AddOcelot method as an argument. Hope this helps!