CommunityToolkit.Aspire.Hosting.Dapr 13.0.0

Prefix Reserved
dotnet add package CommunityToolkit.Aspire.Hosting.Dapr --version 13.0.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Dapr -Version 13.0.0
                    
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="13.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Dapr" Version="13.0.0" />
                    
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 13.0.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Dapr, 13.0.0"
                    
#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 CommunityToolkit.Aspire.Hosting.Dapr@13.0.0
                    
#: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=CommunityToolkit.Aspire.Hosting.Dapr&version=13.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr&version=13.0.0
                    
Install 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/

Notes

Note that Aspire is only tested for compatibility with the most recently stable version of Dapr. Currently 1.15.3 for the Dapr runtime and 1.15.0 for the Dapr CLI.

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

NuGet packages (3)

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

Package Downloads
CommunityToolkit.Aspire.Hosting.Azure.Dapr

Azure Dapr support for .NET Aspire.

Hexalith.NetAspire.Hosting

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

CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on CommunityToolkit.Aspire.Hosting.Dapr:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dapr/dotnet-sdk
Dapr SDK for .NET
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
Version Downloads Last Updated
13.0.0 894 11/25/2025
13.0.0-beta.462 119 11/25/2025
13.0.0-beta.456 143 11/23/2025
13.0.0-beta.454 77 11/23/2025
13.0.0-beta.453 96 11/22/2025
13.0.0-beta.450 108 11/22/2025
13.0.0-beta.448 99 11/22/2025
13.0.0-beta.444 417 11/17/2025
13.0.0-beta.443 274 11/17/2025
13.0.0-beta.440 85 11/15/2025
13.0.0-beta.439 292 11/12/2025
13.0.0-beta.438 219 11/12/2025
13.0.0-beta.436 222 11/12/2025
13.0.0-beta.435 228 11/11/2025
13.0.0-beta.433 144 11/10/2025
13.0.0-beta.432 144 11/10/2025
13.0.0-beta.431 136 11/6/2025
13.0.0-beta.430 137 11/6/2025
9.9.0 6,277 11/3/2025
9.9.0-beta.427 143 11/3/2025
9.8.1-beta.426 141 11/3/2025
9.8.1-beta.424 143 10/28/2025
9.8.1-beta.420 157 10/27/2025
9.8.1-beta.419 149 10/27/2025
9.8.1-beta.417 131 10/27/2025
9.8.1-beta.414 216 10/24/2025
9.8.1-beta.413 127 10/22/2025
9.8.1-beta.410 129 10/16/2025
9.8.1-beta.408 123 10/16/2025
9.8.1-beta.407 117 10/16/2025
9.8.1-beta.406 291 10/15/2025
9.8.0 14,280 9/26/2025
9.8.0-beta.405 127 10/15/2025
9.8.0-beta.404 121 10/13/2025
9.8.0-beta.402 432 9/29/2025
9.8.0-beta.401 124 9/29/2025
9.8.0-beta.399 130 9/26/2025
9.8.0-beta.398 137 9/25/2025
9.8.0-beta.397 132 9/25/2025
9.8.0-beta.395 134 9/24/2025
9.8.0-beta.394 152 9/23/2025
9.8.0-beta.393 132 9/23/2025
9.8.0-beta.392 135 9/23/2025
9.8.0-beta.389 258 9/18/2025
9.8.0-beta.388 259 9/16/2025
9.8.0-beta.386 297 9/15/2025
9.8.0-beta.385 207 9/15/2025
9.8.0-beta.384 56 9/13/2025
9.8.0-beta.376 154 9/8/2025
9.8.0-beta.375 66 9/6/2025
9.8.0-beta.373 147 9/5/2025
9.8.0-beta.372 141 9/4/2025
9.8.0-beta.370 131 9/2/2025
9.8.0-beta.364 135 9/1/2025
9.7.2 16,346 8/29/2025
9.7.2-beta.362 172 8/29/2025
9.7.2-beta.361 182 8/29/2025
9.7.2-beta.360 177 8/29/2025
9.7.2-beta.359 197 8/28/2025
9.7.2-beta.358 171 8/28/2025
9.7.2-beta.357 174 8/28/2025
9.7.1 981 8/27/2025
9.7.1-beta.355 172 8/27/2025
9.7.1-beta.354 182 8/27/2025
9.7.1-beta.353 174 8/27/2025
9.7.1-beta.352 178 8/27/2025
9.7.1-beta.351 178 8/27/2025
9.7.1-beta.348 170 8/14/2025
9.7.1-beta.344 85 8/10/2025
9.7.1-beta.343 210 8/8/2025
9.7.1-beta.342 214 8/7/2025
9.7.1-beta.341 213 8/6/2025
9.7.1-beta.340 199 8/5/2025
9.7.1-beta.339 190 8/5/2025
9.7.0 14,388 8/1/2025
9.7.0-beta.337 94 8/1/2025
9.7.0-beta.336 101 8/1/2025
9.7.0-beta.335 104 8/1/2025
9.7.0-beta.333 137 7/30/2025
9.6.1-beta.332 321 7/30/2025
9.6.1-beta.331 108 7/30/2025
9.6.1-beta.330 109 7/30/2025
9.6.1-beta.329 110 7/30/2025
9.6.1-beta.328 119 7/29/2025
9.6.1-beta.327 124 7/28/2025
9.6.1-beta.326 124 7/28/2025
9.6.0 9,537 7/10/2025
9.6.0-beta.324 137 7/10/2025
9.5.1-beta.323 152 7/10/2025
9.5.1-beta.322 133 7/10/2025
9.5.1-beta.321 136 7/10/2025
9.5.1-beta.320 164 7/9/2025
9.5.1-beta.319 136 7/8/2025
9.5.1-beta.318 135 7/2/2025
9.5.1-beta.317 132 6/30/2025
9.5.1-beta.315 140 6/26/2025
9.5.1-beta.314 155 6/23/2025
9.5.1-beta.313 126 6/20/2025
9.5.1-beta.312 150 6/20/2025
9.5.1-beta.311 157 6/18/2025
9.5.1-beta.310 159 6/17/2025
9.5.1-beta.309 132 6/17/2025
9.5.1-beta.308 163 6/17/2025
9.5.1-beta.307 376 6/16/2025
9.5.1-beta.306 320 6/11/2025
9.5.1-beta.305 127 6/7/2025
9.5.1-beta.304 139 6/6/2025
9.5.1-beta.303 160 6/4/2025
9.5.1-beta.302 159 6/4/2025
9.5.1-beta.301 160 6/2/2025
9.5.1-beta.300 180 5/28/2025
9.5.0 23,021 5/27/2025
9.5.0-beta.299 154 5/27/2025
9.5.0-beta.298 163 5/26/2025
9.5.0-beta.297 156 5/24/2025
9.5.0-beta.296 95 5/24/2025
9.5.0-beta.295 86 5/24/2025
9.4.1-beta.291 163 5/19/2025
9.4.1-beta.289 167 5/16/2025
9.4.1-beta.288 229 5/16/2025
9.4.1-beta.287 220 5/16/2025
9.4.1-beta.286 223 5/16/2025
9.4.1-beta.285 229 5/14/2025
9.4.1-beta.284 499 5/13/2025
9.4.1-beta.283 232 5/12/2025
9.4.1-beta.282 162 5/7/2025
9.4.1-beta.280 475 5/2/2025
9.4.1-beta.279 162 5/2/2025
9.4.1-beta.277 284 4/23/2025
9.4.1-beta.276 184 4/23/2025
9.4.1-beta.275 155 4/23/2025
9.4.1-beta.274 146 4/23/2025
9.4.1-beta.273 171 4/23/2025
9.4.1-beta.272 163 4/23/2025
9.4.1-beta.271 167 4/23/2025
9.4.1-beta.270 197 4/20/2025
9.4.0 47,413 4/20/2025
9.4.0-beta.269 172 4/20/2025
9.4.0-beta.268 186 4/20/2025
9.3.1-beta.267 167 4/20/2025
9.3.1-beta.266 91 4/19/2025
9.3.1-beta.265 216 4/15/2025
9.3.1-beta.264 213 4/15/2025
9.3.1-beta.263 198 4/15/2025
9.3.1-beta.262 197 4/15/2025
9.3.1-beta.260 166 4/10/2025
9.3.1-beta.259 250 4/8/2025
9.3.1-beta.258 149 4/8/2025
9.3.1-beta.257 180 4/8/2025
9.3.1-beta.256 165 4/8/2025
9.3.1-beta.255 164 4/8/2025
9.3.1-beta.254 158 4/8/2025
9.3.1-beta.253 177 4/1/2025
9.3.1-beta.252 259 3/27/2025
9.3.1-beta.250 169 3/27/2025
9.3.1-beta.249 137 3/27/2025
9.3.1-beta.248 152 3/27/2025
9.3.1-beta.247 156 3/27/2025
9.3.1-beta.244 509 3/25/2025
9.3.1-beta.242 495 3/24/2025
9.3.1-beta.241 155 3/19/2025
9.3.0 26,192 3/19/2025
9.3.0-beta.239 178 3/19/2025
9.2.2-beta.237 169 3/19/2025
9.2.2-beta.236 139 3/14/2025
9.2.2-beta.230 175 3/13/2025
9.2.2-beta.229 163 3/13/2025
9.2.2-beta.228 171 3/11/2025
9.2.2-beta.227 187 3/11/2025
9.2.2-beta.226 156 3/11/2025
9.2.2-beta.225 178 3/11/2025
9.2.2-beta.224 177 3/11/2025
9.2.2-beta.223 163 3/10/2025
9.2.2-beta.222 184 3/10/2025
9.2.2-beta.220 176 3/9/2025
9.2.2-beta.218 170 3/9/2025
9.2.2-beta.217 209 3/7/2025
9.2.2-beta.216 199 3/7/2025
9.2.2-beta.215 215 3/7/2025
9.2.2-beta.214 212 3/5/2025
9.2.2-beta.213 215 3/5/2025
9.2.2-beta.212 224 3/5/2025
9.2.2-beta.211 226 3/4/2025
9.2.2-beta.210 198 3/4/2025
9.2.2-beta.208 124 3/3/2025
9.2.1 12,524 3/3/2025
9.2.1-beta.207 134 3/2/2025
9.2.1-beta.206 109 3/1/2025
9.2.1-beta.205 83 2/27/2025
9.2.1-beta.204 133 2/26/2025
9.2.1-beta.203 106 2/26/2025
9.2.0 2,250 2/26/2025
9.2.0-beta.202 79 2/26/2025
9.2.0-beta.201 117 2/26/2025
9.2.0-beta.199 118 2/26/2025
9.2.0-beta.198 104 2/26/2025
9.1.1-beta.197 1,604 2/25/2025
9.1.1-beta.196 118 2/25/2025
9.1.1-beta.195 107 2/25/2025
9.1.1-beta.194 88 2/25/2025
9.1.1-beta.193 120 2/25/2025
9.1.1-beta.192 122 2/24/2025
9.1.1-beta.191 118 2/24/2025
9.1.1-beta.190 236 2/19/2025
9.1.1-beta.189 125 2/19/2025
9.1.1-beta.188 94 2/19/2025
9.1.1-beta.187 139 2/19/2025
9.1.1-beta.183 139 2/18/2025
9.1.1-beta.182 109 2/18/2025
9.1.1-beta.181 126 2/18/2025
9.1.1-beta.180 126 2/17/2025
9.1.1-beta.178 118 2/17/2025
9.1.1-beta.177 142 2/12/2025
9.1.1-beta.176 134 2/11/2025
9.1.1-beta.175 139 2/11/2025
9.1.1-beta.173 114 2/10/2025
9.1.1-beta.169 105 2/6/2025
9.1.1-beta.168 124 2/5/2025