Aspire.Hosting
9.1.0
Prefix Reserved
This version is out of support and is no longer maintained. Please upgrade to the latest version. See our support policy for details: https://aka.ms/dotent/aspire/support
See the version list below for details.
dotnet add package Aspire.Hosting --version 9.1.0
NuGet\Install-Package Aspire.Hosting -Version 9.1.0
<PackageReference Include="Aspire.Hosting" Version="9.1.0" />
<PackageVersion Include="Aspire.Hosting" Version="9.1.0" />
<PackageReference Include="Aspire.Hosting" />
paket add Aspire.Hosting --version 9.1.0
#r "nuget: Aspire.Hosting, 9.1.0"
#:package Aspire.Hosting@9.1.0
#addin nuget:?package=Aspire.Hosting&version=9.1.0
#tool nuget:?package=Aspire.Hosting&version=9.1.0
Aspire.Hosting library
Core abstractions for the .NET Aspire application model. It provides the building blocks for the distributed application
hosting model. This package should not be referenced by AppHost projects directly. Instead use the Aspire.Hosting.AppHost
package to add a transitive referencing including custom build targets to support code generation of metadata
types for referenced .NET projects.
Developers wishing to build their own custom resource types and supporting APIs for .NET Aspire should reference this package directly.
Additional documentation
https://learn.microsoft.com/dotnet/aspire/
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 was computed. 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 was computed. 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. |
-
net8.0
- AspNetCore.HealthChecks.Uris (>= 9.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)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 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)
- System.IO.Hashing (>= 9.0.1)
NuGet packages (200)
Showing the top 5 NuGet packages that depend on Aspire.Hosting:
| Package | Downloads |
|---|---|
|
Aspire.Hosting.AppHost
Core library and MSBuild logic for .NET Aspire AppHost projects. |
|
|
Aspire.Hosting.Azure
Azure resource types for .NET Aspire. |
|
|
Aspire.Hosting.Testing
Testing support for the .NET Aspire application model. |
|
|
Aspire.Hosting.SqlServer
Microsoft SQL Server support for .NET Aspire. |
|
|
Aspire.Hosting.Redis
Redis® support for .NET Aspire. |
GitHub repositories (19)
Showing the top 19 popular GitHub repositories that depend on Aspire.Hosting:
| Repository | Stars |
|---|---|
|
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.
|
|
|
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
|
|
|
microsoft/kernel-memory
RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
|
|
|
wiremock/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on WireMock Java, but extended with more functionality.Full documentation can be found at https://wiremock.org/dotnet/.
|
|
|
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
|
|
|
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
|
NikiforovAll/keycloak-authorization-services-dotnet
Authentication and Authorization with Keycloak and ASP.NET Core 🔐
|
|
|
CommunityToolkit/Aspire
A community project with additional components and extensions for .NET Aspire
|
|
|
thangchung/practical-dotnet-aspire
The practical .NET Aspire builds on the coffeeshop app business domain
|
|
|
dotnet/systemweb-adapters
|
|
|
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
|
|
|
hasanxdev/DispatchR
Fast, zero-alloc alternative to MediatR for .NET – minimal, blazing fast, and DI-friendly.
|
|
|
J-Tech-Japan/Sekiban
Sekiban - an Opinionated Event Sourcing and CQRS Framework using C#. It can store data into Azure Cosmos DB, AWS Dynamo DB or Postgres
|
|
|
asynkron/TraceLens
|
|
|
bradygaster/dotnet-cloud-native-build-2023
|
|
|
SnowBankSDK/foundationdb-dotnet-client
C#/.NET Binding for FoundationDB Client API
|
|
|
aws/integrations-on-dotnet-aspire-for-aws
This repositry contains the integrations with .NET Aspire for AWS.
|
|
|
FritzAndFriends/TagzApp
An application that discovers content on social media for hashtags
|
|
|
Dutchskull/Aspire.PolyRepo
This library for DotNet Aspire enables poly repo support and the addition of Git repositories to your Aspire projects. It simplifies multi-repository management and streamlines dependency handling, making it easier to work with multiple repositories in a Aspire project.
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 9.5.2 | 145,171 | 10/23/2025 | |
| 9.5.1 | 313,157 | 10/3/2025 | |
| 9.5.0 | 253,162 | 9/25/2025 | |
| 9.4.2 | 446,235 | 9/2/2025 | |
| 9.4.1 | 381,440 | 8/12/2025 | |
| 9.4.0 | 375,083 | 7/29/2025 | |
| 9.3.2 | 204,780 | 6/20/2025 | |
| 9.3.1 | 834,727 | 6/10/2025 | |
| 9.3.0 | 616,560 | 5/19/2025 | |
| 9.2.1 | 460,288 | 4/24/2025 | |
| 9.2.0 | 547,690 | 4/10/2025 | |
| 9.1.0 | 748,609 | 2/25/2025 | |
| 9.0.0 | 1,515,463 | 11/12/2024 | |
| 9.0.0-rc.1.24511.1 | 39,597 | 10/15/2024 | |
| 9.0.0-preview.3.24210.17 | 5,417 | 4/11/2024 | |
| 9.0.0-preview.2.24162.2 | 2,629 | 3/12/2024 | |
| 9.0.0-preview.1.24113.3 | 2,274 | 2/13/2024 | |
| 8.2.2 | 402,059 | 10/24/2024 | |
| 8.2.1 | 198,378 | 9/26/2024 | |
| 8.2.0 | 383,210 | 8/29/2024 | |
| 8.1.0 | 233,640 | 7/23/2024 | |
| 8.0.2 | 114,390 | 6/28/2024 | |
| 8.0.1 | 248,534 | 5/21/2024 | |
| 8.0.0 | 76,881 | 5/21/2024 | |
| 8.0.0-preview.7.24251.11 | 38,743 | 5/7/2024 | |
| 8.0.0-preview.6.24214.1 | 45,868 | 4/23/2024 | |
| 8.0.0-preview.5.24201.12 | 37,090 | 4/9/2024 | |
| 8.0.0-preview.4.24156.9 | 31,042 | 3/12/2024 | |
| 8.0.0-preview.3.24105.21 | 39,378 | 2/13/2024 | |
| 8.0.0-preview.2.23619.3 | 29,283 | 12/20/2023 | |
| 8.0.0-preview.1.23557.2 | 74,018 | 11/14/2023 |