Aspire.Hosting.AppHost 13.2.0

Aspire.Hosting.AppHost library

Provides the core APIs and MSBuild logic for Aspire AppHost projects.

Getting started

Install the package

In your project, install the Aspire AppHost library with NuGet:

dotnet add package Aspire.Hosting.AppHost

Usage example

Then, in the AppHost.cs file of AppHost, add project, container, and executable resources:

var builder = DistributedApplication.CreateBuilder(args);

// The Projects.MyApp type is generated by custom MSBuild targets added
// by the Aspire.Hosting.AppHost package when the MyApp project is added
// as a project reference.
var app = builder.AddProject<Projects.MyApp>("myapp");

builder.Build().Run();

Additional documentation

https://aspire.dev/

Feedback & contributing

https://github.com/dotnet/aspire

No packages depend on Aspire.Hosting.AppHost.

.NET 8.0

.NET 9.0

.NET 10.0

Version Downloads Last updated
13.2.0 3 03/24/2026
13.1.3 6 03/23/2026
13.1.2 9 02/27/2026
13.1.1 15 02/12/2026
13.1.0 20 12/18/2025
13.0.2 19 12/11/2025
13.0.1 15 12/10/2025
13.0.0 18 12/20/2025
9.5.2 16 12/11/2025
9.5.1 9 12/10/2025
9.5.0 11 12/10/2025
9.4.2 15 12/09/2025
9.4.1 9 12/11/2025
9.4.0 9 12/19/2025
9.3.1 13 12/10/2025
9.3.0 15 12/11/2025
9.2.1 10 12/18/2025
9.2.0 9 12/12/2025
9.1.0 11 12/14/2025
9.0.0 12 12/10/2025
9.0.0-rc.1.24511.1 12 12/10/2025
8.2.2 10 12/11/2025
8.2.1 10 12/11/2025
8.2.0 9 12/25/2025
8.1.0 13 12/12/2025
8.0.2 9 12/14/2025
8.0.1 12 12/11/2025
8.0.0 9 12/11/2025
8.0.0-preview.7.24251.11 13 12/11/2025
8.0.0-preview.6.24214.1 11 12/09/2025
8.0.0-preview.5.24201.12 13 12/10/2025