CommunityToolkit.Aspire.Hosting.Azure.Dapr 9.3.1-beta.256

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Azure.Dapr.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Azure.Dapr --version 9.3.1-beta.256
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Azure.Dapr -Version 9.3.1-beta.256
                    
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="9.3.1-beta.256" />
                    
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="9.3.1-beta.256" />
                    
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 9.3.1-beta.256
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Azure.Dapr, 9.3.1-beta.256"
                    
#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@9.3.1-beta.256
                    
#: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=9.3.1-beta.256&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Azure.Dapr&version=9.3.1-beta.256&prerelease
                    
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 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. 
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
9.8.0-beta.389 124 9/18/2025
9.8.0-beta.388 140 9/16/2025
9.8.0-beta.386 146 9/15/2025
9.8.0-beta.385 142 9/15/2025
9.8.0-beta.384 41 9/13/2025
9.8.0-beta.376 116 9/8/2025
9.8.0-beta.375 58 9/6/2025
9.8.0-beta.373 132 9/5/2025
9.8.0-beta.372 129 9/4/2025
9.8.0-beta.370 133 9/2/2025
9.8.0-beta.364 117 9/1/2025
9.7.2 456 8/29/2025
9.7.2-beta.362 161 8/29/2025
9.7.2-beta.361 165 8/29/2025
9.7.2-beta.360 166 8/29/2025
9.7.2-beta.359 163 8/28/2025
9.7.2-beta.358 167 8/28/2025
9.7.2-beta.357 164 8/28/2025
9.7.1 238 8/27/2025
9.7.1-beta.355 164 8/27/2025
9.7.1-beta.354 168 8/27/2025
9.7.1-beta.353 162 8/27/2025
9.7.1-beta.352 162 8/27/2025
9.7.1-beta.351 164 8/27/2025
9.7.1-beta.348 132 8/14/2025
9.7.1-beta.344 69 8/10/2025
9.7.1-beta.343 197 8/8/2025
9.7.1-beta.342 202 8/7/2025
9.7.1-beta.341 198 8/6/2025
9.7.1-beta.340 191 8/5/2025
9.7.1-beta.339 184 8/5/2025
9.7.0 293 8/1/2025
9.7.0-beta.337 83 8/1/2025
9.7.0-beta.336 91 8/1/2025
9.7.0-beta.335 91 8/1/2025
9.7.0-beta.333 99 7/30/2025
9.6.1-beta.332 99 7/30/2025
9.6.1-beta.331 102 7/30/2025
9.6.1-beta.330 97 7/30/2025
9.6.1-beta.329 100 7/30/2025
9.6.1-beta.328 98 7/29/2025
9.6.1-beta.327 103 7/28/2025
9.6.1-beta.326 99 7/28/2025
9.6.0 342 7/10/2025
9.6.0-beta.324 548 7/10/2025
9.5.1-beta.323 124 7/10/2025
9.5.1-beta.322 140 7/10/2025
9.5.1-beta.321 122 7/10/2025
9.5.1-beta.320 312 7/9/2025
9.5.1-beta.319 303 7/8/2025
9.5.1-beta.318 381 7/2/2025
9.5.1-beta.317 121 6/30/2025
9.5.1-beta.315 133 6/26/2025
9.5.1-beta.314 128 6/23/2025
9.5.1-beta.313 112 6/20/2025
9.5.1-beta.312 122 6/20/2025
9.5.1-beta.311 134 6/18/2025
9.5.1-beta.310 132 6/17/2025
9.5.1-beta.309 128 6/17/2025
9.5.1-beta.308 125 6/17/2025
9.5.1-beta.307 128 6/16/2025
9.5.1-beta.306 274 6/11/2025
9.5.1-beta.305 98 6/7/2025
9.5.1-beta.304 107 6/6/2025
9.5.1-beta.303 131 6/4/2025
9.5.1-beta.302 135 6/4/2025
9.5.1-beta.301 136 6/2/2025
9.5.1-beta.300 155 5/28/2025
9.5.0 1,362 5/27/2025
9.5.0-beta.299 128 5/27/2025
9.5.0-beta.298 133 5/26/2025
9.5.0-beta.297 88 5/24/2025
9.5.0-beta.296 83 5/24/2025
9.5.0-beta.295 58 5/24/2025
9.4.1-beta.291 153 5/19/2025
9.4.1-beta.289 146 5/16/2025
9.4.1-beta.288 219 5/16/2025
9.4.1-beta.287 196 5/16/2025
9.4.1-beta.286 194 5/16/2025
9.4.1-beta.285 212 5/14/2025
9.4.1-beta.284 217 5/13/2025
9.4.1-beta.283 217 5/12/2025
9.4.1-beta.282 134 5/7/2025
9.4.1-beta.280 125 5/2/2025
9.4.1-beta.279 123 5/2/2025
9.4.1-beta.277 270 4/23/2025
9.4.1-beta.276 151 4/23/2025
9.4.1-beta.275 152 4/23/2025
9.4.1-beta.274 147 4/23/2025
9.4.1-beta.273 137 4/23/2025
9.4.1-beta.272 138 4/23/2025
9.4.1-beta.271 148 4/23/2025
9.4.1-beta.270 139 4/20/2025
9.4.0 985 4/20/2025
9.4.0-beta.269 144 4/20/2025
9.4.0-beta.268 141 4/20/2025
9.3.1-beta.267 144 4/20/2025
9.3.1-beta.266 78 4/19/2025
9.3.1-beta.265 174 4/15/2025
9.3.1-beta.264 178 4/15/2025
9.3.1-beta.263 172 4/15/2025
9.3.1-beta.262 184 4/15/2025
9.3.1-beta.260 145 4/10/2025
9.3.1-beta.259 146 4/8/2025
9.3.1-beta.258 148 4/8/2025
9.3.1-beta.257 144 4/8/2025
9.3.1-beta.256 149 4/8/2025
9.3.1-beta.255 139 4/8/2025
9.3.1-beta.254 140 4/8/2025
9.3.1-beta.253 157 4/1/2025
9.3.1-beta.252 124 3/27/2025
9.3.1-beta.250 123 3/27/2025
9.3.1-beta.249 121 3/27/2025
9.3.1-beta.248 124 3/27/2025
9.3.1-beta.247 123 3/27/2025
9.3.1-beta.244 474 3/25/2025
9.3.1-beta.242 470 3/24/2025
9.3.1-beta.241 141 3/19/2025
9.3.0 1,128 3/19/2025
9.3.0-beta.239 137 3/19/2025
9.2.2-beta.237 136 3/19/2025
9.2.2-beta.236 118 3/14/2025
9.2.2-beta.230 142 3/13/2025
9.2.2-beta.229 145 3/13/2025