News

.NET Aspire 9.5 Simplifies AppHost, Expands AI Support

Microsoft announced the release of .NET Aspire 9.5, the latest update to its opinionated stack for building distributed cloud-native applications with .NET. The new version introduces improvements across the AppHost project model, AI integrations, and resource management, along with other enhancements to developer tooling and deployment.

.NET Aspire
[Click on image for larger view.] .NET Aspire (source: Microsoft).

.NET Aspire essentially brings "application modeling" to .NET distributed systems. Instead of treating each service, container, or dependency separately, Aspire lets you describe the entire app in one model and provides the developer experience to:

  • Run it consistently in local dev environments.
  • Debug across multiple services.
  • Deploy it reliably to cloud targets like Azure.

Here's a look at what's new, a lot having to do with AI-related features, but starting out with the AppHost project model itself.

Single-File AppHost
.NET Aspire 9.5 adds support for a single-file AppHost project. Previously, developers created a solution with multiple projects to model distributed applications. With the new option, everything can be declared in one project file, reducing boilerplate and making it easier to manage smaller applications or prototypes. According to the release notes, developers can still use the multi-project approach when it makes sense for larger solutions.

Generative AI Visualizer
The new release debuts a Generative AI Visualizer in the Aspire dashboard. The feature provides a way to inspect and visualize prompts and responses when applications integrate large language models.

GenAI Visualizer
[Click on image for larger view.] GenAI Visualizer (source: Microsoft).

Microsoft said this enables developers to better understand model behavior and debug issues when working with AI-powered features.

Expanded AI Integration
Integration with AI services has been extended in 9.5. Typed client libraries are now available for GitHub Models and Azure AI Foundry, simplifying the process of connecting applications to hosted large language models. In addition, OpenAI support has been added to Aspire's service catalog, allowing developers to configure connections to OpenAI endpoints from within the AppHost project model.

Resource Lifecycle Improvements
Enhancements to resource management include new lifecycle hooks and health probes. Aspire now supports startup, readiness, and liveness probes that provide more granular control of resource states. These features help ensure dependent services start in the correct order and can be monitored for ongoing health once running.

Unified Logging Across Resources
Version 9.5 introduces the ability to view logs from multiple resources in a single place within the dashboard. Developers can combine logs across different components for better visibility during debugging and testing. Filtering and correlation features make it easier to trace issues through distributed applications.

Other Updates
Additional changes include new templates for AppHost and service projects, improvements to the Aspire CLI, and expanded deployment options. Publishing enhancements simplify pushing apps to Azure Container Apps, while updates to the dashboard provide more consistent views of resource health and telemetry.

Availability
.NET Aspire 9.5 is available now. Full details are provided in the announcement post and the release notes.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Microsoft Highlights Visual Studio Live! Event Lineup and Longtime Developer Community Role

    A Microsoft MVP Blog post on Visual Studio Live!'s longevity arrives as the 2026 conference series continues with upcoming stops at Microsoft HQ, San Diego and Orlando.

  • Using Local AI to Cut Copilot Usage-Based Billing Shock

    After being gobsmacked by the new billing plan using almost all my monthly credits in one or two days, I tried pushing some Copilot-style coding work onto local models in VS Code. What I found was less "free AI" and more "pick your pain": cloud charges on one side, heavy local resource use and long waits on the other.

  • .NET 11 Preview 5 Focuses on Performance, Productivity and Safer Code

    .NET 11 Preview 5 focuses on under-the-hood runtime performance gains, streamlined APIs and language features that reduce boilerplate, plus built‑in security checks and incremental ASP.NET Core and EF Core improvements aimed at everyday developer productivity.

  • VS Code 1.124 Focuses on Agent Autonomy and Parallel Sessions

    Microsoft's June 2026 VS Code update turns on Autopilot by default and adds background sending for agent sessions.

Subscribe on YouTube