CommunityToolkit.Aspire.Hosting.Azure.Dapr 13.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Azure.Dapr --version 13.0.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Azure.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.Azure.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.Azure.Dapr" Version="13.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Azure.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.Azure.Dapr --version 13.0.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Azure.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.Azure.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.Azure.Dapr&version=13.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Azure.Dapr&version=13.0.0
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.Azure.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.Azure.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 (1)

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

Package Downloads
CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
13.1.2-beta.516 0 2/9/2026
13.1.2-beta.515 41 2/2/2026
13.1.2-beta.514 45 1/30/2026
13.1.2-beta.513 46 1/29/2026
13.1.2-beta.512 47 1/29/2026
13.1.2-beta.511 44 1/28/2026
13.1.2-beta.509 44 1/20/2026
13.1.2-beta.508 46 1/19/2026
13.1.2-beta.507 43 1/19/2026
13.1.2-beta.506 44 1/16/2026
13.1.2-beta.505 47 1/16/2026
13.1.2-beta.504 44 1/16/2026
13.1.1-preview.1.260116-0117 47 1/16/2026
13.1.1-beta.502 50 1/16/2026
13.1.0-preview.1.260114-1049 44 1/14/2026
13.1.0-beta.499 44 1/14/2026
13.0.1-beta.498 47 1/14/2026
13.0.1-beta.486 48 1/12/2026
13.0.1-beta.468 653 12/3/2025
13.0.1-beta.467 620 12/3/2025
13.0.0 4,927 11/25/2025
13.0.0-beta.462 149 11/25/2025
13.0.0-beta.456 155 11/23/2025
13.0.0-beta.454 100 11/23/2025
13.0.0-beta.453 116 11/22/2025
13.0.0-beta.450 128 11/22/2025
13.0.0-beta.448 128 11/22/2025
13.0.0-beta.444 356 11/17/2025
13.0.0-beta.443 271 11/17/2025
13.0.0-beta.440 109 11/15/2025
13.0.0-beta.439 242 11/12/2025
13.0.0-beta.438 252 11/12/2025
13.0.0-beta.436 247 11/12/2025
13.0.0-beta.435 242 11/11/2025
13.0.0-beta.433 168 11/10/2025
13.0.0-beta.432 165 11/10/2025
13.0.0-beta.431 161 11/6/2025
13.0.0-beta.430 159 11/6/2025
9.9.0 758 11/3/2025
9.9.0-beta.427 160 11/3/2025
9.8.1-beta.426 164 11/3/2025
9.8.1-beta.424 157 10/28/2025
9.8.1-beta.420 163 10/27/2025
9.8.1-beta.419 144 10/27/2025
9.8.1-beta.417 154 10/27/2025
9.8.1-beta.414 147 10/24/2025
9.8.1-beta.413 140 10/22/2025
9.8.1-beta.410 140 10/16/2025
9.8.1-beta.408 139 10/16/2025
9.8.1-beta.407 134 10/16/2025
9.8.1-beta.406 315 10/15/2025
9.8.0 688 9/26/2025
9.8.0-beta.405 137 10/15/2025
9.8.0-beta.404 149 10/13/2025
9.8.0-beta.402 146 9/29/2025
9.8.0-beta.401 138 9/29/2025
9.8.0-beta.399 141 9/26/2025
9.8.0-beta.398 154 9/25/2025
9.8.0-beta.397 155 9/25/2025
9.8.0-beta.395 152 9/24/2025
9.8.0-beta.394 177 9/23/2025
9.8.0-beta.393 150 9/23/2025
9.8.0-beta.392 160 9/23/2025
9.8.0-beta.389 278 9/18/2025
9.8.0-beta.388 283 9/16/2025
9.8.0-beta.386 230 9/15/2025
9.8.0-beta.385 220 9/15/2025
9.8.0-beta.384 78 9/13/2025
9.8.0-beta.376 147 9/8/2025
9.8.0-beta.375 87 9/6/2025
9.8.0-beta.373 161 9/5/2025
9.8.0-beta.372 159 9/4/2025
9.8.0-beta.370 169 9/2/2025
9.8.0-beta.364 149 9/1/2025
9.7.2 946 8/29/2025
9.7.2-beta.362 193 8/29/2025
9.7.2-beta.361 184 8/29/2025
9.7.2-beta.360 199 8/29/2025
9.7.2-beta.359 192 8/28/2025
9.7.2-beta.358 198 8/28/2025
9.7.2-beta.357 194 8/28/2025
9.7.1 330 8/27/2025
9.7.1-beta.355 197 8/27/2025
9.7.1-beta.354 196 8/27/2025
9.7.1-beta.353 191 8/27/2025
9.7.1-beta.352 187 8/27/2025
9.7.1-beta.351 195 8/27/2025
9.7.1-beta.348 156 8/14/2025
9.7.1-beta.344 95 8/10/2025
9.7.1-beta.343 226 8/8/2025
9.7.1-beta.342 245 8/7/2025
9.7.1-beta.341 229 8/6/2025
9.7.1-beta.340 220 8/5/2025
9.7.1-beta.339 216 8/5/2025
9.7.0 1,100 8/1/2025
9.7.0-beta.337 113 8/1/2025
9.7.0-beta.336 121 8/1/2025
9.7.0-beta.335 113 8/1/2025
9.7.0-beta.333 131 7/30/2025
9.6.1-beta.332 126 7/30/2025
9.6.1-beta.331 130 7/30/2025
9.6.1-beta.330 120 7/30/2025
9.6.1-beta.329 126 7/30/2025
9.6.1-beta.328 137 7/29/2025
9.6.1-beta.327 151 7/28/2025
9.6.1-beta.326 141 7/28/2025
9.6.0 410 7/10/2025
9.6.0-beta.324 610 7/10/2025
9.5.1-beta.323 149 7/10/2025
9.5.1-beta.322 177 7/10/2025
9.5.1-beta.321 146 7/10/2025
9.5.1-beta.320 343 7/9/2025
9.5.1-beta.319 354 7/8/2025
9.5.1-beta.318 414 7/2/2025
9.5.1-beta.317 145 6/30/2025
9.5.1-beta.315 184 6/26/2025
9.5.1-beta.314 156 6/23/2025
9.5.1-beta.313 140 6/20/2025
9.5.1-beta.312 141 6/20/2025
9.5.1-beta.311 174 6/18/2025
9.5.1-beta.310 178 6/17/2025
9.5.1-beta.309 174 6/17/2025
9.5.1-beta.308 145 6/17/2025
9.5.1-beta.307 155 6/16/2025
9.5.1-beta.306 301 6/11/2025
9.5.1-beta.305 123 6/7/2025
9.5.1-beta.304 135 6/6/2025
9.5.1-beta.303 149 6/4/2025
9.5.1-beta.302 175 6/4/2025
9.5.1-beta.301 169 6/2/2025
9.5.1-beta.300 185 5/28/2025
9.5.0 2,363 5/27/2025
9.5.0-beta.299 150 5/27/2025
9.5.0-beta.298 152 5/26/2025
9.5.0-beta.297 111 5/24/2025
9.5.0-beta.296 111 5/24/2025
9.5.0-beta.295 82 5/24/2025
9.4.1-beta.291 176 5/19/2025
9.4.1-beta.289 175 5/16/2025
9.4.1-beta.288 247 5/16/2025
9.4.1-beta.287 224 5/16/2025
9.4.1-beta.286 216 5/16/2025
9.4.1-beta.285 241 5/14/2025
9.4.1-beta.284 241 5/13/2025
9.4.1-beta.283 244 5/12/2025
9.4.1-beta.282 160 5/7/2025
9.4.1-beta.280 149 5/2/2025
9.4.1-beta.279 149 5/2/2025
9.4.1-beta.277 303 4/23/2025
9.4.1-beta.276 186 4/23/2025
9.4.1-beta.275 189 4/23/2025
9.4.1-beta.274 175 4/23/2025
9.4.1-beta.273 165 4/23/2025
9.4.1-beta.272 168 4/23/2025
9.4.1-beta.271 178 4/23/2025
9.4.1-beta.270 166 4/20/2025
9.4.0 1,095 4/20/2025
9.4.0-beta.269 165 4/20/2025
9.4.0-beta.268 166 4/20/2025
9.3.1-beta.267 172 4/20/2025
9.3.1-beta.266 102 4/19/2025
9.3.1-beta.265 199 4/15/2025
9.3.1-beta.264 212 4/15/2025
9.3.1-beta.263 199 4/15/2025
9.3.1-beta.262 231 4/15/2025
9.3.1-beta.260 177 4/10/2025
9.3.1-beta.259 172 4/8/2025
9.3.1-beta.258 183 4/8/2025
9.3.1-beta.257 177 4/8/2025
9.3.1-beta.256 174 4/8/2025
9.3.1-beta.255 165 4/8/2025
9.3.1-beta.254 165 4/8/2025
9.3.1-beta.253 190 4/1/2025
9.3.1-beta.252 153 3/27/2025
9.3.1-beta.250 152 3/27/2025
9.3.1-beta.249 143 3/27/2025
9.3.1-beta.248 165 3/27/2025
9.3.1-beta.247 157 3/27/2025
9.3.1-beta.244 497 3/25/2025
9.3.1-beta.242 488 3/24/2025
9.3.1-beta.241 165 3/19/2025
9.3.0 1,901 3/19/2025
9.3.0-beta.239 162 3/19/2025
9.2.2-beta.237 158 3/19/2025
9.2.2-beta.236 164 3/14/2025
9.2.2-beta.230 172 3/13/2025
9.2.2-beta.229 182 3/13/2025