Technical requirements
In this chapter, like the previous chapters, you’ll need an Azure subscription, Docker Desktop, and .NET Aspire.
The code for this chapter can be found in this book’s GitHub repository: https://github.com/PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure.
The ch09
folder contains the following projects, along with their outputs:
Codebreaker.ApiGateway
: This is a new project that will act as an application gateway in front of thegame-apis
service andbot-service
and secure the APIs with the help of YARPWebAppAuth
: This is a new project for the client part that focuses on creating new users with Azure AD B2C, providing authentication from the client side, and invokingbot-service
via the gatewayCodebreaker.ApiGateway.Identities
: This is a new project that can be used instead ofCodebreaker.ApiGateway
where instead of using Azure AD B2C, local users are created and managed
To help you go through the code...