Technical requirements
In this chapter, like the previous chapters, you’ll need an Azure subscription, the Azure Developer CLI (winget install Microsoft.Azd
), and Docker Desktop.
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 ch12
folder contains the projects we’ll need for this chapter, as well as their output. To add the functionality from this chapter, you can start with the source code from the previous chapter.
Here are the projects we’ll be implementing in this chapter:
Codebreaker.AppHost
: The .NET Aspire host project. This project has been enhanced by adding a Redis resource for caching.Codebreaker.ServiceDefaults
: Here, we use a common health check configuration for all the services.Codebreaker.GameAPIs
: With this project, we implement caching games to reduce database access and add a custom health check.
...