Aspire.Hosting.AppHost 9.1.0
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 (>= 9.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Google.Protobuf (>= 3.29.3)
- Grpc.AspNetCore (>= 2.67.0)
- Grpc.Net.ClientFactory (>= 2.67.0)
- Grpc.Tools (>= 2.67.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.2.3)
- KubernetesClient (>= 15.0.1)
- System.IO.Hashing (>= 9.0.1)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.12)
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Primitives (>= 8.0.0)
- Polly.Core (>= 8.5.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
.NET 9.0
- Grpc.AspNetCore (>= 2.67.0)
- Grpc.Net.ClientFactory (>= 2.67.0)
- Grpc.Tools (>= 2.67.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.2.3)
- KubernetesClient (>= 15.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.2)
- Google.Protobuf (>= 3.29.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2)
- Microsoft.Extensions.Hosting (>= 9.0.2)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.2)
- Microsoft.Extensions.Http (>= 9.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.2)
- Microsoft.Extensions.Options (>= 9.0.2)
- Microsoft.Extensions.Primitives (>= 9.0.2)
- Polly.Core (>= 8.5.1)
- System.IO.Hashing (>= 9.0.1)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.2)
- Aspire.Hosting (>= 9.1.0)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
Version | Downloads | Last updated |
---|---|---|
9.1.0 | 4 | 02/27/2025 |
9.0.0 | 6 | 02/10/2025 |
9.0.0-rc.1.24511.1 | 5 | 02/20/2025 |
8.2.2 | 7 | 02/20/2025 |
8.2.1 | 6 | 02/23/2025 |
8.2.0 | 7 | 02/24/2025 |
8.1.0 | 6 | 02/27/2025 |
8.0.2 | 6 | 02/27/2025 |
8.0.1 | 6 | 02/27/2025 |
8.0.0 | 6 | 02/20/2025 |
8.0.0-preview.7.24251.11 | 6 | 02/19/2025 |
8.0.0-preview.6.24214.1 | 6 | 02/20/2025 |
8.0.0-preview.5.24201.12 | 5 | 02/20/2025 |