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

  • Hands On with GitHub Copilot App Technical Preview: Turning a Blazor Issue into a PR

    GitHub's brand-new Copilot desktop app, in technical preview, handled a small Blazor issue from planning through pull request creation, but the hands-on test also showed why developers still need to verify agent work in the running app before merging.

  • At Build 2026, Microsoft Sets Up Windows as an OS for AI Agents

    Microsoft's Build 2026 Windows developer announcements point to a broader platform strategy for agentic AI, spanning terminal workflows, local models, app-building skills, Cloud PCs and operating system-level containment.

  • Slammed by Copilot Usage-Based Billing on Day 1, Facing $180 Bill for June

    A journalist using GitHub Copilot Pro details how a broken editorial workflow on day one of usage-based billing led to runaway token consumption, a projected $180 monthly bill, and practical tactics for cutting AI credit burn.

  • AdaBoost.R2 Regression Using C#

    AdaBoost.R2 regression works by building an ensemble of decision trees, training them on reweighted data, and combining their predictions with a weighted median, while also showing how parameter choices affect accuracy and overfitting.

Subscribe on YouTube