CommunityToolkit.Aspire.Hosting.Dapr 9.2.0-beta.198

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Dapr.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Dapr --version 9.2.0-beta.198
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Dapr -Version 9.2.0-beta.198
                    
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="CommunityToolkit.Aspire.Hosting.Dapr" Version="9.2.0-beta.198" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Dapr" Version="9.2.0-beta.198" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Dapr" />
                    
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 CommunityToolkit.Aspire.Hosting.Dapr --version 9.2.0-beta.198
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Dapr, 9.2.0-beta.198"
                    
#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.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr&version=9.2.0-beta.198&prerelease
                    
Install CommunityToolkit.Aspire.Hosting.Dapr as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr&version=9.2.0-beta.198&prerelease
                    
Install CommunityToolkit.Aspire.Hosting.Dapr as a Cake Tool

CommunityToolkit.Aspire.Hosting.Dapr library

Provides extension methods and resource definitions for a .NET Aspire AppHost to configure Dapr resources.

Getting started

Install the package

In your AppHost project, install the .NET Aspire Dapr Hosting library with NuGet:

dotnet add package CommunityToolkit.Aspire.Hosting.Dapr

Usage example

Then, in the Program.cs file of AppHost, add Dapr resources and consume the connection using the following methods:

var builder = DistributedApplication.CreateBuilder(args);

var stateStore = builder.AddDaprStateStore("statestore");
var pubSub = builder.AddDaprPubSub("pubsub");

builder.AddProject<Projects.MyApp>("myapp")
       .WithDaprSidecar()
       .WithReference(stateStore)
       .WithReference(pubSub);

builder.Build().Run();

Additional documentation

https://dapr.io/

Feedback & contributing

https://github.com/dotnet/aspire

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CommunityToolkit.Aspire.Hosting.Dapr:

Package Downloads
CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis

Package Description

Hexalith.NetAspire.Hosting

Hexalith is a set of libraries to build an application with micro-service architecture.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.4.1-beta.277 34 4/23/2025
9.4.1-beta.276 34 4/23/2025
9.4.1-beta.275 35 4/23/2025
9.4.1-beta.274 34 4/23/2025
9.4.1-beta.273 35 4/23/2025
9.4.1-beta.272 33 4/23/2025
9.4.1-beta.271 34 4/23/2025
9.4.1-beta.270 57 4/20/2025
9.4.0 757 4/20/2025
9.4.0-beta.269 36 4/20/2025
9.4.0-beta.268 40 4/20/2025
9.3.1-beta.267 39 4/20/2025
9.3.1-beta.266 43 4/19/2025
9.3.1-beta.265 153 4/15/2025
9.3.1-beta.264 147 4/15/2025
9.3.1-beta.263 139 4/15/2025
9.3.1-beta.262 142 4/15/2025
9.3.1-beta.260 127 4/10/2025
9.3.1-beta.259 192 4/8/2025
9.3.1-beta.258 117 4/8/2025
9.3.1-beta.257 116 4/8/2025
9.3.1-beta.256 117 4/8/2025
9.3.1-beta.255 117 4/8/2025
9.3.1-beta.254 110 4/8/2025
9.3.1-beta.253 127 4/1/2025
9.3.1-beta.252 164 3/27/2025
9.3.1-beta.250 102 3/27/2025
9.3.1-beta.249 97 3/27/2025
9.3.1-beta.248 96 3/27/2025
9.3.1-beta.247 96 3/27/2025
9.3.1-beta.244 450 3/25/2025
9.3.1-beta.242 442 3/24/2025
9.3.1-beta.241 120 3/19/2025
9.3.0 6,499 3/19/2025
9.3.0-beta.239 119 3/19/2025
9.2.2-beta.237 114 3/19/2025
9.2.2-beta.236 81 3/14/2025
9.2.2-beta.230 120 3/13/2025
9.2.2-beta.229 108 3/13/2025
9.2.2-beta.228 131 3/11/2025
9.2.2-beta.227 123 3/11/2025
9.2.2-beta.226 128 3/11/2025
9.2.2-beta.225 127 3/11/2025
9.2.2-beta.224 120 3/11/2025
9.2.2-beta.223 131 3/10/2025
9.2.2-beta.222 125 3/10/2025
9.2.2-beta.220 123 3/9/2025
9.2.2-beta.218 120 3/9/2025
9.2.2-beta.217 160 3/7/2025
9.2.2-beta.216 165 3/7/2025
9.2.2-beta.215 168 3/7/2025
9.2.2-beta.214 168 3/5/2025
9.2.2-beta.213 155 3/5/2025
9.2.2-beta.212 163 3/5/2025
9.2.2-beta.211 170 3/4/2025
9.2.2-beta.210 169 3/4/2025
9.2.2-beta.208 63 3/3/2025
9.2.1 5,410 3/3/2025
9.2.1-beta.207 86 3/2/2025
9.2.1-beta.206 53 3/1/2025
9.2.1-beta.205 53 2/27/2025
9.2.1-beta.204 67 2/26/2025
9.2.1-beta.203 56 2/26/2025
9.2.0 1,265 2/26/2025
9.2.0-beta.202 49 2/26/2025
9.2.0-beta.201 56 2/26/2025
9.2.0-beta.199 59 2/26/2025
9.2.0-beta.198 48 2/26/2025
9.1.1-beta.197 124 2/25/2025
9.1.1-beta.196 64 2/25/2025
9.1.1-beta.195 57 2/25/2025
9.1.1-beta.194 58 2/25/2025
9.1.1-beta.193 62 2/25/2025
9.1.1-beta.192 69 2/24/2025
9.1.1-beta.191 66 2/24/2025
9.1.1-beta.190 191 2/19/2025
9.1.1-beta.189 64 2/19/2025
9.1.1-beta.188 66 2/19/2025
9.1.1-beta.187 77 2/19/2025
9.1.1-beta.183 80 2/18/2025
9.1.1-beta.182 73 2/18/2025
9.1.1-beta.181 79 2/18/2025
9.1.1-beta.180 73 2/17/2025
9.1.1-beta.178 65 2/17/2025
9.1.1-beta.177 93 2/12/2025
9.1.1-beta.176 74 2/11/2025
9.1.1-beta.175 69 2/11/2025
9.1.1-beta.173 73 2/10/2025
9.1.1-beta.169 66 2/6/2025
9.1.1-beta.168 61 2/5/2025