Microsoft has released .NET Aspire 9.3, the latest iteration of its cloud-ready framework designed for building distributed applications. This update brings a notable enhancement by integrating GitHub Copilot as an AI-powered debugging assistant within the Aspire dashboard. This addition aims to streamline and elevate the developer experience by leveraging artificial intelligence for troubleshooting and diagnostics.
Launched on May 19 and positioned as a minor release, .NET Aspire 9.3 integrates Copilot deeply into its OpenTelemetry debugging tools. Developers can now quickly sift through hundreds of log entries with just a click, trace errors across multiple services to identify root causes, and detect performance bottlenecks in execution traces. Moreover, Copilot’s AI capabilities include explaining complex or obscure error codes by referencing a comprehensive AI-driven knowledge base. Access to these features is seamless through apps launched from Visual Studio Code or the Visual Studio IDE, making debugging more intelligent and efficient.
The update also introduces usability improvements to the Aspire dashboard. A new context menu allows quick navigation to the Resource Graph view, simplifying access to telemetry data, commands, and URLs for each resource. On the Traces page, developers gain visibility into outgoing calls to external resources that do not produce telemetry themselves, such as caches and databases. This expanded traceability helps clarify the full chain of dependencies during a request, and filters enable developers to focus exclusively on traces involving these external components. Additionally, quality-of-life enhancements include preserving source filter states, maintaining user-friendly resource names in console logs URLs, and alerting users when metrics collection is paused.
Beyond debugging improvements, .NET Aspire 9.3 extends its functionality with new integrations and API enhancements. It now supports hosting a YARP (Yet Another Reverse Proxy) instance through the Aspire.Hosting.Yarp package. Database integrations have been improved: MySQL now automatically creates the specified database during setup, while Postgres, Redis, and SQL Server benefit from simplified configuration options, especially when running as containers. Developers can also manage Azure Blob Storage more easily by creating blob containers directly within the AppHost environment. Finally, updates to the Custom URLs API simplify the customization of resource URLs, making the platform more flexible and developer-friendly.