May-2024
To install Visual Studio: winget install Microsoft.VisualStudio.2022.Community.Preview
Install Visual Studio Code: winget install Microsoft.VisualStudioCode
Install Docker Desktop on Windows: winget install Docker.DockerDesktop
With .NET Aspire 9, installing the .NET Aspire workload is no longer required. Instead, the Aspire SDK is referenced from the AppHost project file:
<Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0" />
See details: https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling
Visual Studio 2022 17.9 includes the .NET Aspire SDK by default.
To install the .NET Aspire templates, use
dotnet new install Aspire.ProjectTemplates
See details: https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/aspire-sdk-templates
Install the Azure Developer CLI at least with version azd version 1.11.0:
winget install Microsoft.Azd
Starting with chapter 3, we use Microsoft SQL Server.
SQL Server comes installed together with Visual Studio.
You can also download the SQL Server Developer edition via winget:
winget install Microsoft.SQLServer.2022.Developer
SQL Server does not run on Windows ARM64 devices such as Surface Laptop 7 (Copilot). See Developing with Visual Studio on ARM: SQL Server Challenges.
If you don't have winget
available on your system, you can install SQL Server by downloading the MSIX installer from Try SQL Server.
In case you use a Mac development system, you can use a Docker image for SQL Server (see more in chapter 4). You can also use SQL Azure which is described in chapter 5.
To read and write your SQL Server data, within Visual Studio you can use the SQL Server Object Explorer. Outside of Visual Studio, and with more functionality, use SQL Server Management Studio which can be installed with:
winget install Microsoft.SQLServerManagementStudio
Instead of using winget, you can also install the software using Microsoft Installers. With SQL Server, chose the Developer or Express editions.
[Microsoft SQL Server][https://www.microsoft.com/en-us/sql-server/sql-server-downloads)
You can run SQL Server in a Linux Docker container:
To access Azure Cosmos DB, an emulator to run it locally is available. You can install this NoSQL database emulator with:
winget install Microsoft.Azure.CosmosEmulator
More information on installing the Azure Cosmos DB emulator:
Using Azure Cosmos on non-Windows systems, you can use the Docker image for Azure Cosmos DB emulator, or use Azure Cosmos DB in the cloud.
To use Azure Cosmos DB with Microsoft Azure. Read chapter 6 for more information.