To get the most out of this book
You will need to know C# and .NET and have some fundamental knowledge about Microsoft Azure. The following tools and applications need to be installed:
Tool |
Installation |
Visual Studio 2022 (optional) |
|
Visual Studio Code |
|
Docker Desktop |
https://docs.docker.com/desktop/install/windows-install/ |
Microsoft Azure subscription |
|
Azure CLI |
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli |
Azure Developer CLI |
https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd |
Azure Cosmos DB emulator |
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator |
.NET Aspire |
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling |
Visual Studio 2022 is the only software on this list that requires Windows. All other tools can be used on Windows, macOS, or Linux. On platforms other than Windows, you can use Visual Studio Code or other tools to work with .NET and C#.
To use .NET Aspire with Visual Studio, at least version 17.10.0 needs to be installed. You can use Visual Studio 2022 Community Edition.
Starting with Chapter 6, you need a Microsoft Azure subscription. You can activate Microsoft Azure for free at https://azure.microsoft.com/free, which gives you about USD 200 in Azure credit that’s available for the first 30 days and several services that can be used for free for the time after. If you have a Visual Studio Professional or Enterprise subscription, you also get a free amount of Azure resources every month. You just need to activate this with your Visual Studio subscription: https://visualstudio.microsoft.com/subscriptions/.
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.