Microsoft Dev Blogs

.NET Aspire 9.2 is Now Available with New Ways to Deploy

thumbnail

Table of Contents

  1. Dashboard Features for Everyone
  2. Resource Deep Linking
  3. Breaking Change for Azure SQL Server and Azure PostgreSQL

Dashboard Features for Everyone

The .NET Aspire 9.2 release brings three new features to the dashboard:

  1. Resource Graph: Provides a view of all resources defined in the app host and their relationships.

Resource Deep Linking

In version 9.2, deep linking capabilities have been introduced for the following integrations:

  • Azure Cosmos DB
  • Azure Service Bus
  • Azure Event Hubs
  • Azure OpenAI
  • Azure Web PubSub

This enhancement allows direct connections to specific resources, enabling publishing to locations such as Docker Compose, Kubernetes, and Azure in a preview state.

To add publishing for Docker Compose to the default template application:

  1. Add the NuGet package to the app host project.
  2. Include specific instructions in the Program.cs file of the app host project.
  3. Use the experimental .NET Aspire CLI to build assets for a publisher.

Breaking Change for Azure SQL Server and Azure PostgreSQL

With .NET Aspire 9.2, each Azure Container App now has its own managed identity by default, impacting applications using Azure SQL Server due to its support for only one Azure AD admin.

It is recommended to update applications to .NET Aspire 9.2 and explore the dashboard updates and new publisher features.