From the course: Advanced Azure Microservices with .NET for Developers
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Introducing the API Gateway pattern - Azure Tutorial
From the course: Advanced Azure Microservices with .NET for Developers
Introducing the API Gateway pattern
- [Instructor] In this video, we're going to talk about the API Gateway pattern. Before I explain what an API gateway is, let's first identify why it's needed in the first place. When you have several microservices, it'll be quite inefficient for client applications to invoke each microservice directly. Since the number of microservice instances, under input addresses could change without previous notice, just imagine the amount of work for configuring each microservice address in the client application. In addition to that, what do you think would happen if we add more microservices to the solution? Or even worse, what would happen if we deploy microservices that use different protocols, not friendly with the web ones? That's exactly what an API gateway is for. An API gateway is a single entry point for all client applications that want to communicate to the backend microservices, for this reason, instead of…