.NET Aspire 9.3 Adds New Lifecycle Events
Thursday, 22 May 2025

.NET Aspire 9.3 has been released with improvements including the addition of GitHub Copilot to the .NET Aspire dashboard, along with a new context menu in the Resource Graph view; and new lifecycle events. 

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.

 

net2

The addition of GitHub Copilot to the .NET Aspire dashboard adds features for analyzing applications, debugging, and improving them. The addition adds the ability to review collections of many log messages with a single click. It will also offer suggestions as to the root cause of errors across multiple apps, and will highlight performance issues in traces. The knowledge base can be used to explain obscure error codes. GitHub Copilot is accessible in the dashboard when launching apps from Visual Studio or Visual Studio Code.

Another addition is a context menu to the Resource Graph view that provides quick access the telemetry, commands, and URLs of the resource.  The dashboard can also now visualize outgoing calls to resources that don't emit their own telemetry, including resources like databases and caches that lack built-in tracing. It wasn't possible to view such dependencies on the Traces page.

The Custom URLs feature has had its API updated to handle custom resource URLs better. Developers can now control whether the URL is visible on the Dashboard's resources page or the resource details page, and can also use relative URLs for the endpoints they reference. 

There are two new lifecycle events aimed at making it easier to build custom resources with predictable behavior without the need to use Task.Run or polling. The InitializeResourceEvent fires after a resource is added, but before endpoints are allocated, and is designed for custom resources that don't have a built-in lifecycle, such as containers or executables. The second event, ResourceEndpointsAllocatedEvent, fires once a resource's endpoints have been assigned, such as after port resolution or container allocation. 

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

net2

More Information

Aspire On GitHub

Related Articles

.NET Aspire 9.2 Adds Publishers

.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


CodeRabbit Now Free In VSCode
14/05/2025

CodeRabbit, an AI-powered code review tool designed to automate the code review process is now integrated in VS Code, the first tool to deliver full-context reviews both in the IDE and in Git, he [ ... ]



Microsoft Launches Human Centered AI Tool
02/06/2025

Microsoft Research has published details of a research prototype that provides a different type of interaction between humans and AI tools. Magentic-UI keeps the human in the loop and more in control. [ ... ]


More News

espbook

 

Comments




or email your comment to: [email protected]