.NET Aspire 9.4 Adds CLI Tool |
Thursday, 07 August 2025 |
.NET Aspire 9.4 has been released with improvements including new integrations, interactive dashboard-based inputs, and a standalone, native AOT command line tool for creating and running Aspirified apps. NET Aspire is a stack for building cloud-native applications. It is included as part of .NET 9, and is made up of a collection of NuGet packages that Microsoft has designed for specific cloud-native uses. The designers created it for use by developers working with orchestration, components, and tooling. The orchestration elements provide features for running and connecting multi-project applications and their dependencies. This release includes the Aspire CLI as generally available. The developers say it provides a fast, scriptable, and consistent way to scaffold, run, and configure your apps. There's also an updated version of aspire publish, which is still in preview, and two commands in beta – exec (for executing CLI tools like database migrations) and deploy (for deploying your full stack to dev, test, or even prod environments). The CLI is native AOT (ahead-of-time) compiled, making it fast across different architectures. Aspire 9.4's eventing APIs have been updated and include a new extensibility point – the interaction service. This can be used to create custom UX to get user input during development while the app is running, present notifications, or ask for confirmation before running a command. The interaction service supports 5 different input types, specifically text, secret text, number, Boolean and choice. Aspire 9.4 also comes with preview versions of two AI hosting integrations for GitHub Models and Azure AI Foundry. Both let you define AI models in your apphost then run them locally or deploy models to develop against. Both work with the Azure AI Inference client integration, so you get detailed OpenTelemetry traces and simple bootstrapping code for your client app or service implementing it. .NET Aspire 9.4 is available now as part of .NET 9, and on GitHub. More InformationRelated Articles.NET Aspire 9.3 Adds New Lifecycle Events .NET Aspire 9.2 Adds Publishers Microsoft Releases .NET Aspire 8.2 .NET 8 Final Preview Improves ASP.NET Core To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |