Aspire.Hosting.AppHost 8.0.0-preview.7.24251.11
Aspire.Hosting.AppHost library
Provides the core APIs and MSBuild logic for .NET Aspire AppHost projects.
Getting started
Install the package
In your project, install the .NET Aspire AppHost library with NuGet:
dotnet add package Aspire.Hosting.AppHost
Usage example
Then, in the Program.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://learn.microsoft.com/dotnet/aspire/
Feedback & contributing
No packages depend on Aspire.Hosting.AppHost.
.NET 8.0
- Aspire.Hosting (>= 8.0.0-preview.7.24251.11)
Version | Downloads | Last updated |
---|---|---|
9.3.1 | 3 | 06/22/2025 |
9.3.0 | 6 | 06/04/2025 |
9.2.1 | 4 | 06/05/2025 |
9.2.0 | 5 | 06/04/2025 |
9.1.0 | 5 | 06/04/2025 |
9.0.0 | 5 | 06/04/2025 |
9.0.0-rc.1.24511.1 | 4 | 06/04/2025 |
8.2.2 | 3 | 06/05/2025 |
8.2.1 | 5 | 06/04/2025 |
8.2.0 | 3 | 06/04/2025 |
8.1.0 | 4 | 06/04/2025 |
8.0.2 | 5 | 06/04/2025 |
8.0.1 | 3 | 06/04/2025 |
8.0.0 | 4 | 06/04/2025 |
8.0.0-preview.7.24251.11 | 3 | 06/04/2025 |
8.0.0-preview.6.24214.1 | 4 | 06/04/2025 |
8.0.0-preview.5.24201.12 | 4 | 06/04/2025 |