This workshop will be using the following tools:
- .NET 10 SDK or .NET 9
- Docker Desktop or Podman
- Visual Studio 2026 or Visual Studio Code with C# Dev Kit
- Aspire CLI - this command line tool allows you to update and interact with the Aspire features of your application system without needing to directly use .NET tools
For the best experience, we recommend using Visual Studio 2026 with the ASP.NET Core workload. However, you can use Visual Studio Code with the C# Dev Kit and Aspire CLI. Below are setup guides for each platform.
- Install Visual Studio 2026.
- Any edition will work including the free to use Visual Studio Community
- Select the following
ASP.NET and web developmentworkload.
-
Install the latest .NET 10 SDK
Note: When running on Mac with Apple Silicon (M series processor), Rosetta 2 for grpc-tools.
The Aspire CLI is the primary tool for working with Aspire projects. It provides a streamlined developer experience for creating, running, and managing your Aspire applications. Install it using one of these methods:
# Windows (PowerShell)
irm https://aspire.dev/install.ps1 | iex
# macOS/Linux (Bash)
curl -sSL https://aspire.dev/install.sh | bashdotnet tool install -g Aspire.Cli
After installing, verify and update to the latest version:
aspire --version
aspire update --selfThe Aspire CLI provides useful commands like:
aspire new- Create new Aspire projects from templatesaspire run- Find and run the AppHost from anywhere in your repoaspire add- Add hosting integration packages interactivelyaspire config- Configure Aspire settingsaspire update- Update Aspire packages in your projectaspire do- Execute deployment pipeline steps (build, push, deploy)
The Aspire CLI handles templates automatically when you use aspire new. However, if you prefer using dotnet new directly, install the templates:
dotnet new install Aspire.ProjectTemplates --force
To test your installation, see the Build your first Aspire project for more information.
To start the workshop open start/MyWeatherHub.sln in Visual Studio 2026. If you are using Visual Studio code open the start folder and when prompted by the C# Dev Kit which solution to open, select MyWeatherHub.sln.