VOOZH about

URL: https://www.nuget.org/packages/Aspire.Hosting.Azure/

⇱ NuGet Gallery | Aspire.Hosting.Azure 13.4.5




👁 Image
Aspire.Hosting.Azure 13.4.5

Prefix Reserved
dotnet add package Aspire.Hosting.Azure --version 13.4.5
 
 
NuGet\Install-Package Aspire.Hosting.Azure -Version 13.4.5
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspire.Hosting.Azure" Version="13.4.5" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspire.Hosting.Azure" Version="13.4.5" />
 
Directory.Packages.props
<PackageReference Include="Aspire.Hosting.Azure" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspire.Hosting.Azure --version 13.4.5
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspire.Hosting.Azure, 13.4.5"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspire.Hosting.Azure@13.4.5
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspire.Hosting.Azure&version=13.4.5
 
Install as a Cake Addin
#tool nuget:?package=Aspire.Hosting.Azure&version=13.4.5
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Aspire.Hosting.Azure library

Provides core extensions to the Aspire hosting model for Azure services.

Getting started

Prerequisites

Install the package

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

dotnet add package Aspire.Hosting.Azure

Configure Azure Provisioning for local development

Adding Azure resources to the Aspire application model will automatically enable development-time provisioning for Azure resources so that you don't need to configure them manually. Provisioning requires a number of settings to be available via .NET configuration. Set these values in user secrets in order to allow resources to be configured automatically.

{
 "Azure": {
 "SubscriptionId": "<your subscription id>",
 "ResourceGroupPrefix": "<prefix for the resource group>",
 "Location": "<azure location>"
 }
}

NOTE: Developers must have Owner access to the target subscription so that role assignments can be configured for the provisioned resources.

Usage example

Then, in the AppHost.cs file of AppHost, add a resource based on a Bicep template:

var bicepResource = builder.AddBicepTemplate("bicep", "template.bicep")
 .WithParameter("parametername", "parametervalue");
});

Additional documentation

Feedback & contributing

https://github.com/microsoft/aspire

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (29)

Showing the top 5 NuGet packages that depend on Aspire.Hosting.Azure:

Package Downloads
Aspire.Hosting.Azure.Storage

Azure Storage resource types for Aspire.

Aspire.Hosting.Azure.KeyVault

Azure resource types for Aspire.

Aspire.Hosting.Azure.ServiceBus

Azure Service Bus resource types for Aspire.

Aspire.Hosting.Azure.Functions

Azure Functions resource types for Aspire.

Aspire.Hosting.Azure.OperationalInsights

Azure Log Analytics resource types for Aspire.

GitHub repositories (9)

Showing the top 9 popular GitHub repositories that depend on Aspire.Hosting.Azure:

Repository Stars
microsoft/aspire-samples
Browse the sample apps demonstrating Aspire integration across C#, JavaScript, TypeScript, Python, Go, containers, databases, cloud, AI, and observability scenarios.
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.
ProfessionalCSharp/ProfessionalCSharp2021
Source code for Professional C# and .NET 2021 Edition (with updates for C# 11 and .NET 7)
Azure-Samples/eShopOnAzure
A variant of https://github.com/dotnet/eShop that uses Azure services
Azure-Samples/eShopLite
eShopLite is a set of reference .NET applications implementing an eCommerce site with features like Semantic Search, MCP, Reasoning models and more.
Azure-Samples/interview-coach-agent-framework
Interview coach application using Microsoft Agent Framework | https://aka.ms/agentframework/interviewcoach
Keboo/DotnetTemplates
A repository for my dotnet templates
koralium/flowtide
High-performance streaming SQL query engine designed for real-time data processing. Use cases include event-driven architectures, ETL pipelines, and modern data-intensive applications.
PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure
Pragmatic Microservices with C# and Azure, published by Packt
Version Downloads Last Updated
13.4.5 3,737 6/17/2026
13.4.4 14,956 6/15/2026
13.4.3 47,270 6/8/2026
13.4.2 50,122 6/3/2026
13.4.1 1,340 6/3/2026
13.4.0 44,585 6/1/2026
13.3.5 137,582 5/21/2026
13.3.4 24,902 5/19/2026
13.3.3 59,448 5/15/2026
13.3.2 27,609 5/14/2026
13.3.1 19,085 5/12/2026
13.3.0 81,905 5/7/2026
13.2.4 211,447 4/24/2026
13.2.3 64,501 4/21/2026
13.2.2 192,381 4/8/2026
13.2.1 104,362 3/31/2026
13.2.0 170,005 3/23/2026
13.1.3 51,390 3/19/2026
13.1.2 329,877 2/26/2026
13.1.1 239,097 2/11/2026
Loading failed