Microsoft’s .NET Aspire Toolchain Gets a Major Boost
Microsoft has just released version 9.4 of its .NET Aspire toolchain, and it’s a doozy. This update brings a slew of new features that make building cloud-ready, distributed apps easier than ever.
The .NET Aspire team is calling this release the biggest one yet, despite what the documentation says about it being a minor version update. Whatever the label, it’s clear that Microsoft is putting its weight behind this toolchain.
One of the main attractions of .NET Aspire 9.4 is its native, AOT-compiled CLI (Command-Line Interface). This is now generally available and designed to be fast, scriptable, and consistent for tasks like scaffolding, running, and configuring apps.
CLI Core Commands Take Center Stage
The new CLI core commands are the real stars of this show. They include aspire new, which lets you choose from a set of templates to get started with an app; aspire add, for adding hosting integrations from a repository; and aspire run, which lets you run an entire app stack from any terminal, editor, or subdirectory.
There’s also aspire config, which lets you view and set CLI settings and feature flags. And if you’re feeling adventurous, you can try out the updated version of aspire publish (still in preview) or two beta commands: exec and deploy.
To get started with the new CLI, you can download it from a Bash or PowerShell installation script. Just be sure to follow the instructions carefully to avoid any issues.
AI Integrations Get a Boost
.NET Aspire 9.4 also includes two new AI-focused hosting integrations: GitHub Models (Preview) and Azure AI Foundry (Preview). These integrations let developers define AI models in an application host, then run them locally or deploy models to develop against.
Both of these integrations work seamlessly with the Azure AI Inference (Preview) client integration. And if you’re looking for a more custom solution, .NET Aspire 9.4 has got you covered with its new interaction service.
This service lets developers create a custom UX to get user input during development while the application is running. It supports five input types, including text, masked text input (SecretText), numeric input, choice, and Boolean.
The interaction service also collects any missing parameter values defined in an apphost. This means you can get user input without having to worry about missing parameter values.
A Unified Toolchain for Launching and Debugging Apps
One of the biggest benefits of .NET Aspire 9.4 is its unified toolchain for launching and debugging applications locally with one command. This means you can deploy your app anywhere using the same composition, whether it’s Kubernetes, the cloud, or your personal servers.
Microsoft has also announced an Aspire roadmap for the next six months, which includes improved networking and access and AI-specific enhancements like improved LLM interactions and AI workflows. And if you’re looking for more native support, .NET Aspire 9.4 will soon include native support for building agent-based apps with Azure Foundry.
With all these new features and enhancements, it’s clear that Microsoft is committed to making .NET Aspire the go-to toolchain for building cloud-ready, distributed apps.
So what are you waiting for? Get started with .NET Aspire 9.4 today and see how it can help take your app development to the next level!















What do you think?
It is nice to know your opinion. Leave a comment.