.NET Aspire 9.2 Adds Publishers
Written by Kay Ewbank   
Tuesday, 22 April 2025

Despite being tagged as a minor upgrade, NET Aspire 9.2 has additions. Since the last major release, NET Aspire 9 has offered new control over the lifetime of containers on local developer environments. This upgrade has added a preview of publishers, a new way of integration making it easier to package and deploy .NET Aspire apps to Docker Compose, Kubernetes, and Azure.  

NET Aspire is a stack for building observable, production-ready cloud-native applications. Aspire is included as part of .NET 9, and is delivered through 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.

net2

When .NET Aspire 9 was released as part of .NET 9, it added deployment options for Azure Container Apps. It also added  a.NET Aspire App Host, where developers can specify all the projects, executables, cloud resources, and containers for their application in one centralized location. When the App Host project is run, .NET Aspire automatically runs the projects and executables, provisions cloud resources if necessary, and downloads and runs containers that are dependencies for the app.

This update introduces Publishers, which help developers write code that defines how their application gets packaged and deployed to another platform. This version supports Docker Compose, Kubernetes and Azure as targets, and the publishers are previews. Publishers are either standalone Hosting integrations or built-in to Hosting integrations with other functionality. The publishers were developed in conjunction with David Sekula, the author of the Aspir8 tool, and offer similar functionality but within .NET Aspire. Aspir8 is a CLI tool for deploying microservices. 

Alongside the new publishers, .NET Aspire 9.2 comes with a number of other improvements, including a resource graph that shows resources in your apps as a graph of resources, linked by relationships. There's also a new ConnectionStringResource type that makes it easier to build dynamic connection strings without defining a separate resource type so developers can more easily work with and build dynamic parameterized connection strings. You can also define an Azure Container App environment directly in your app model.

.NET Aspire 9.2 is available now as part of .NET 9, and on GitHub.

net2

More Information

Aspire On GitHub

Related Articles

.NET 9 Released

Microsoft Releases .NET Aspire 8.2

.NET Aspire Now In Preview

.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.

Banner


LeetGPU - The CUDA Challenges
04/04/2025

LeetGPU is a platform where you can write and test CUDA code.
Now it adds Challenges to foster competition, asking you to put your GPU programming skills to the test by writing the fastest program [ ... ]



5 Ways AI is Changing Front-End Development
25/04/2025

For a few years now, front-end developers have been nibbling with AI to help them streamline repetitive tasks and boost productivity. However, AI is now evolving into more than just an assistance tool [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 22 April 2025 )