CommunityToolkit.Aspire.Hosting.Azure.Dapr 9.2.2-beta.237

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.2.2-beta.237
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Azure.Dapr -Version 9.2.2-beta.237
                    
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.2.2-beta.237" />
                    
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.2.2-beta.237" />
                    
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.2.2-beta.237
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Azure.Dapr, 9.2.2-beta.237"
                    
#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.2.2-beta.237
                    
#: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.2.2-beta.237&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Azure.Dapr&version=9.2.2-beta.237&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.7.1-beta.348 97 8/14/2025
9.7.1-beta.344 61 8/10/2025
9.7.1-beta.343 188 8/8/2025
9.7.1-beta.342 194 8/7/2025
9.7.1-beta.341 190 8/6/2025
9.7.1-beta.340 183 8/5/2025
9.7.1-beta.339 174 8/5/2025
9.7.0 108 8/1/2025
9.7.0-beta.337 73 8/1/2025
9.7.0-beta.336 83 8/1/2025
9.7.0-beta.335 83 8/1/2025
9.7.0-beta.333 90 7/30/2025
9.6.1-beta.332 91 7/30/2025
9.6.1-beta.331 94 7/30/2025
9.6.1-beta.330 89 7/30/2025
9.6.1-beta.329 92 7/30/2025
9.6.1-beta.328 91 7/29/2025
9.6.1-beta.327 93 7/28/2025
9.6.1-beta.326 91 7/28/2025
9.6.0 263 7/10/2025
9.6.0-beta.324 538 7/10/2025
9.5.1-beta.323 114 7/10/2025
9.5.1-beta.322 129 7/10/2025
9.5.1-beta.321 114 7/10/2025
9.5.1-beta.320 301 7/9/2025
9.5.1-beta.319 294 7/8/2025
9.5.1-beta.318 371 7/2/2025
9.5.1-beta.317 111 6/30/2025
9.5.1-beta.315 126 6/26/2025
9.5.1-beta.314 121 6/23/2025
9.5.1-beta.313 105 6/20/2025
9.5.1-beta.312 114 6/20/2025
9.5.1-beta.311 119 6/18/2025
9.5.1-beta.310 122 6/17/2025
9.5.1-beta.309 119 6/17/2025
9.5.1-beta.308 119 6/17/2025
9.5.1-beta.307 119 6/16/2025
9.5.1-beta.306 266 6/11/2025
9.5.1-beta.305 92 6/7/2025
9.5.1-beta.304 101 6/6/2025
9.5.1-beta.303 125 6/4/2025
9.5.1-beta.302 127 6/4/2025
9.5.1-beta.301 127 6/2/2025
9.5.1-beta.300 148 5/28/2025
9.5.0 779 5/27/2025
9.5.0-beta.299 122 5/27/2025
9.5.0-beta.298 127 5/26/2025
9.5.0-beta.297 82 5/24/2025
9.5.0-beta.296 77 5/24/2025
9.5.0-beta.295 51 5/24/2025
9.4.1-beta.291 146 5/19/2025
9.4.1-beta.289 139 5/16/2025
9.4.1-beta.288 213 5/16/2025
9.4.1-beta.287 190 5/16/2025
9.4.1-beta.286 189 5/16/2025
9.4.1-beta.285 206 5/14/2025
9.4.1-beta.284 212 5/13/2025
9.4.1-beta.283 212 5/12/2025
9.4.1-beta.282 129 5/7/2025
9.4.1-beta.280 119 5/2/2025
9.4.1-beta.279 118 5/2/2025
9.4.1-beta.277 261 4/23/2025
9.4.1-beta.276 140 4/23/2025
9.4.1-beta.275 140 4/23/2025
9.4.1-beta.274 142 4/23/2025
9.4.1-beta.273 132 4/23/2025
9.4.1-beta.272 132 4/23/2025
9.4.1-beta.271 142 4/23/2025
9.4.1-beta.270 134 4/20/2025
9.4.0 963 4/20/2025
9.4.0-beta.269 139 4/20/2025
9.4.0-beta.268 136 4/20/2025
9.3.1-beta.267 138 4/20/2025
9.3.1-beta.266 71 4/19/2025
9.3.1-beta.265 168 4/15/2025
9.3.1-beta.264 166 4/15/2025
9.3.1-beta.263 167 4/15/2025
9.3.1-beta.262 177 4/15/2025
9.3.1-beta.260 139 4/10/2025
9.3.1-beta.259 141 4/8/2025
9.3.1-beta.258 143 4/8/2025
9.3.1-beta.257 139 4/8/2025
9.3.1-beta.256 144 4/8/2025
9.3.1-beta.255 133 4/8/2025
9.3.1-beta.254 135 4/8/2025
9.3.1-beta.253 150 4/1/2025
9.3.1-beta.252 118 3/27/2025
9.3.1-beta.250 118 3/27/2025
9.3.1-beta.249 116 3/27/2025
9.3.1-beta.248 117 3/27/2025
9.3.1-beta.247 117 3/27/2025
9.3.1-beta.244 468 3/25/2025
9.3.1-beta.242 464 3/24/2025
9.3.1-beta.241 135 3/19/2025
9.3.0 748 3/19/2025
9.3.0-beta.239 132 3/19/2025
9.2.2-beta.237 130 3/19/2025
9.2.2-beta.236 111 3/14/2025
9.2.2-beta.230 137 3/13/2025
9.2.2-beta.229 137 3/13/2025