Aspire.Hosting.AppHost
13.2.4
Prefix Reserved
dotnet add package Aspire.Hosting.AppHost --version 13.2.4
NuGet\Install-Package Aspire.Hosting.AppHost -Version 13.2.4
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.2.4" />
<PackageVersion Include="Aspire.Hosting.AppHost" Version="13.2.4" />
<PackageReference Include="Aspire.Hosting.AppHost" />
paket add Aspire.Hosting.AppHost --version 13.2.4
#r "nuget: Aspire.Hosting.AppHost, 13.2.4"
#:package Aspire.Hosting.AppHost@13.2.4
#addin nuget:?package=Aspire.Hosting.AppHost&version=13.2.4
#tool nuget:?package=Aspire.Hosting.AppHost&version=13.2.4
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
Feedback & contributing
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Aspire.Hosting (>= 13.2.4)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.33.5)
- Grpc.AspNetCore (>= 2.76.0)
- Grpc.Net.ClientFactory (>= 2.76.0)
- Grpc.Tools (>= 2.78.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.3.0)
- KubernetesClient (>= 18.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.5)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.5)
- Microsoft.Extensions.Hosting (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Http (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Options (>= 10.0.5)
- Microsoft.Extensions.Primitives (>= 10.0.5)
- ModelContextProtocol (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.4)
- Polly.Core (>= 8.6.5)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.22.23)
- System.IO.Hashing (>= 10.0.3)
-
net8.0
- Aspire.Hosting (>= 13.2.4)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.33.5)
- Grpc.AspNetCore (>= 2.76.0)
- Grpc.Net.ClientFactory (>= 2.76.0)
- Grpc.Tools (>= 2.78.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.3.0)
- KubernetesClient (>= 18.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.25)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.5)
- Microsoft.Extensions.Hosting (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Http (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Options (>= 10.0.5)
- Microsoft.Extensions.Primitives (>= 10.0.5)
- ModelContextProtocol (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.4)
- Polly.Core (>= 8.6.5)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.22.23)
- System.IO.Hashing (>= 10.0.3)
- System.Text.Json (>= 10.0.5)
-
net9.0
- Aspire.Hosting (>= 13.2.4)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.33.5)
- Grpc.AspNetCore (>= 2.76.0)
- Grpc.Net.ClientFactory (>= 2.76.0)
- Grpc.Tools (>= 2.78.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.3.0)
- KubernetesClient (>= 18.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.14)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.5)
- Microsoft.Extensions.Hosting (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Http (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Options (>= 10.0.5)
- Microsoft.Extensions.Primitives (>= 10.0.5)
- ModelContextProtocol (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.4)
- Polly.Core (>= 8.6.5)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.22.23)
- System.IO.Hashing (>= 10.0.3)
- System.Text.Json (>= 10.0.5)
NuGet packages (40)
Showing the top 5 NuGet packages that depend on Aspire.Hosting.AppHost:
| Package | Downloads |
|---|---|
|
Aspire.Hosting.Testing
Testing support for the Aspire application model. |
|
|
InfinityFlow.Aspire.Temporal
Aspire extension to start the temporal cli dev server as an container or executable resource. Only container is well-supported currently. |
|
|
AzureKeyVaultEmulator.Aspire.Hosting
.NET Aspire AppHost support for the Azure KeyVault Emulator |
|
|
FonsecaFramework.Aspire
Collection of classes and extensions for .NET Aspire |
|
|
Hexalith.Infrastructure.AspireService.Hosting
Hexalith is a set of libraries to build a micro-service architecture. |
GitHub repositories (88)
Showing the top 20 popular GitHub repositories that depend on Aspire.Hosting.AppHost:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
|
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
|
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
|
|
|
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
|
|
|
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
|
|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
|
dotnet/maui-samples
Samples for .NET Multi-Platform App UI (.NET MAUI)
|
|
|
JasperFx/marten
.NET Transactional Document DB and Event Store on PostgreSQL
|
|
|
evolutionary-architecture/evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
|
|
|
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
|
|
|
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
|
|
|
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
|
|
|
microsoft/Generative-AI-for-beginners-dotnet
Five lessons, learn how to really apply AI to your .NET Applications
|
|
|
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
|
|
|
Nethereum/Nethereum
Ethereum .Net cross platform integration library
|
|
|
microsoft/kernel-memory
Research project. A Memory solution for users, teams, and applications.
|
|
|
jbogard/ContosoUniversityDotNetCore-Pages
With Razor Pages
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 13.2.4 | 21,161 | 4/24/2026 | |
| 13.2.3 | 54,030 | 4/21/2026 | |
| 13.2.2 | 257,272 | 4/8/2026 | |
| 13.2.1 | 189,719 | 3/31/2026 | |
| 13.2.0 | 316,339 | 3/23/2026 | |
| 13.1.3 | 102,644 | 3/19/2026 | |
| 13.1.2 | 642,432 | 2/26/2026 | |
| 13.1.1 | 417,016 | 2/11/2026 | |
| 13.1.0 | 1,697,131 | 12/17/2025 | |
| 13.0.2 | 403,375 | 12/4/2025 | |
| 13.0.1 | 171,512 | 11/26/2025 | |
| 13.0.0 | 954,056 | 11/11/2025 | |
| 9.5.2 | 872,014 | 10/23/2025 | |
| 9.5.1 | 683,996 | 10/3/2025 | |
| 9.5.0 | 388,559 | 9/25/2025 | |
| 9.4.2 | 651,921 | 9/2/2025 | |
| 9.4.1 | 566,682 | 8/12/2025 | |
| 9.4.0 | 410,423 | 7/29/2025 | |
| 9.3.1 | 1,024,367 | 6/10/2025 | |
| 9.3.0 | 650,574 | 5/19/2025 |