Prerequisites
Ready to dive into Aspire? Before you begin, make sure your development environment is set up with a few essential tools. This guide walks you through everything you need to start building and running Aspire solutions with confidence.
Install the SDK
Section titled “Install the SDK”Install either .NET 8.0 or .NET 9.0 to work with Aspire. No prior C# experience is required.
Install OCI compliant container runtime
Section titled “Install OCI compliant container runtime”Aspire can run containers using several OCI-compatible runtimes, including Docker Desktop and Podman.
Docker Desktop
Section titled “Docker Desktop”Docker Desktop is the most popular container runtime among Aspire developers, offering a familiar and widely supported environment for building and running containers.
Docker Desktop
Podman
Section titled “Podman”Podman is an open-source, daemonless alternative to Docker. It supports building and running Open Container Initiative (OCI) containers, making it a flexible choice for developers who prefer a lightweight solution.
export ASPIRE_CONTAINER_RUNTIME=podman
[System.Environment]::SetEnvironmentVariable("ASPIRE_CONTAINER_RUNTIME", "podman", "User")
Rancher Desktop
Section titled “Rancher Desktop”Some users have reported success using Rancher Desktop—particularly when configured to use the Docker CLI. However, Rancher Desktop is not an officially supported or regularly tested scenario for Aspire. If you encounter issues with Rancher Desktop, please let us know, but fixes may not be prioritized.
Install an integrated development environment (IDE)
Section titled “Install an integrated development environment (IDE)”Aspire supports multiple IDEs and code editors. You can choose the one that best fits your workflow:
Alternatives to local installation
Section titled “Alternatives to local installation”If you prefer to avoid installing the prerequisites on your local machine, you can develop Aspire solutions using one of the following cloud-based options: