.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. 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. More InformationRelated ArticlesMicrosoft 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 |
|||
Last Updated ( Tuesday, 22 April 2025 ) |