Technical requirements
The code for this chapter can be found in the following GitHub repository: https://github.com/PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure.
The ch03
source code folder contains the code samples for this chapter. The most important projects for this chapter are the following:
Codebreaker.Data.SqlServer
– This is the new library to access Microsoft SQL Server.Codebreaker.Data.Cosmos
– This is the new library to access Azure Cosmos DB.Codebreaker.GamesAPIs
– This is the web API project created in the previous chapter. In this chapter, the dependency injection (DI) container is updated to use .NET Aspire components to use SQL Server and Azure Cosmos DB.Codebreaker.GameAPIs.Models
– This project just has a minimal change in this chapter, adding a property to theGame
class.Codebreaker.AppHost
– This project is updated with SQL Server and Azure Cosmos DB resources and forwarding configuration...