Version 9.4 of Microsoft’s .NET Aspire tools for building cloud-ready, distributed apps has arrived. The update features CLI core commands for starting an application, hosting integrations, running a full application stack, and changing CLI settings. This release also features AI hosting integrations.
Announced July 29, version 9.4 is described as .NET Aspire’s biggest release ever, although the documentation indicates it is a minor version release. Upgrade instructions can be found at learn.microsoft.com.
.NET Aspire 9.4’s native, AOT-compiled CLI is now generally available and geared to be a fast, scriptable, and consistent way to scaffold, run, and configure apps. Core commands include:
aspire new
: For choosing from a set of templates to kickstart an app.aspire add
: For adding Aspire hosting integrations from a repository.aspire run
: For running an app stack from any terminal, editor, or subdirectory.aspire config
: To view and set CLI settings and feature flags.
This release also includes an updated version of aspire publish
, still in preview, and two beta commands: exec
, for executing CLI tools like database migrations, and deploy
, for deploying to development, testing, or production environments. The CLI can be downloaded from a Bash or PowerShell installation script: