CommunityToolkit.Aspire.Hosting.Dapr 9.2.1-beta.205

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.1-beta.205
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Dapr -Version 9.2.1-beta.205
                    
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.1-beta.205" />
                    
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.1-beta.205" />
                    
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.1-beta.205
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Dapr, 9.2.1-beta.205"
                    
#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@9.2.1-beta.205
                    
#: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=9.2.1-beta.205&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr&version=9.2.1-beta.205&prerelease
                    
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/

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 (2)

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

Package Downloads
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
9.8.0-beta.384 12 9/13/2025
9.8.0-beta.376 122 9/8/2025
9.8.0-beta.375 53 9/6/2025
9.8.0-beta.373 134 9/5/2025
9.8.0-beta.372 128 9/4/2025
9.8.0-beta.370 118 9/2/2025
9.8.0-beta.364 119 9/1/2025
9.7.2 2,879 8/29/2025
9.7.2-beta.362 161 8/29/2025
9.7.2-beta.361 167 8/29/2025
9.7.2-beta.360 163 8/29/2025
9.7.2-beta.359 179 8/28/2025
9.7.2-beta.358 162 8/28/2025
9.7.2-beta.357 164 8/28/2025
9.7.1 672 8/27/2025
9.7.1-beta.355 162 8/27/2025
9.7.1-beta.354 165 8/27/2025
9.7.1-beta.353 161 8/27/2025
9.7.1-beta.352 163 8/27/2025
9.7.1-beta.351 168 8/27/2025
9.7.1-beta.348 156 8/14/2025
9.7.1-beta.344 73 8/10/2025
9.7.1-beta.343 200 8/8/2025
9.7.1-beta.342 201 8/7/2025
9.7.1-beta.341 201 8/6/2025
9.7.1-beta.340 189 8/5/2025
9.7.1-beta.339 182 8/5/2025
9.7.0 8,967 8/1/2025
9.7.0-beta.337 84 8/1/2025
9.7.0-beta.336 91 8/1/2025
9.7.0-beta.335 92 8/1/2025
9.7.0-beta.333 126 7/30/2025
9.6.1-beta.332 311 7/30/2025
9.6.1-beta.331 98 7/30/2025
9.6.1-beta.330 98 7/30/2025
9.6.1-beta.329 100 7/30/2025
9.6.1-beta.328 102 7/29/2025
9.6.1-beta.327 99 7/28/2025
9.6.1-beta.326 100 7/28/2025
9.6.0 7,665 7/10/2025
9.6.0-beta.324 126 7/10/2025
9.5.1-beta.323 135 7/10/2025
9.5.1-beta.322 125 7/10/2025
9.5.1-beta.321 127 7/10/2025
9.5.1-beta.320 156 7/9/2025
9.5.1-beta.319 129 7/8/2025
9.5.1-beta.318 126 7/2/2025
9.5.1-beta.317 120 6/30/2025
9.5.1-beta.315 133 6/26/2025
9.5.1-beta.314 137 6/23/2025
9.5.1-beta.313 117 6/20/2025
9.5.1-beta.312 123 6/20/2025
9.5.1-beta.311 129 6/18/2025
9.5.1-beta.310 137 6/17/2025
9.5.1-beta.309 123 6/17/2025
9.5.1-beta.308 134 6/17/2025
9.5.1-beta.307 253 6/16/2025
9.5.1-beta.306 296 6/11/2025
9.5.1-beta.305 110 6/7/2025
9.5.1-beta.304 122 6/6/2025
9.5.1-beta.303 141 6/4/2025
9.5.1-beta.302 140 6/4/2025
9.5.1-beta.301 140 6/2/2025
9.5.1-beta.300 152 5/28/2025
9.5.0 17,170 5/27/2025
9.5.0-beta.299 140 5/27/2025
9.5.0-beta.298 144 5/26/2025
9.5.0-beta.297 127 5/24/2025
9.5.0-beta.296 85 5/24/2025
9.5.0-beta.295 67 5/24/2025
9.4.1-beta.291 142 5/19/2025
9.4.1-beta.289 148 5/16/2025
9.4.1-beta.288 203 5/16/2025
9.4.1-beta.287 208 5/16/2025
9.4.1-beta.286 203 5/16/2025
9.4.1-beta.285 220 5/14/2025
9.4.1-beta.284 466 5/13/2025
9.4.1-beta.283 224 5/12/2025
9.4.1-beta.282 143 5/7/2025
9.4.1-beta.280 198 5/2/2025
9.4.1-beta.279 142 5/2/2025
9.4.1-beta.277 244 4/23/2025
9.4.1-beta.276 158 4/23/2025
9.4.1-beta.275 143 4/23/2025
9.4.1-beta.274 139 4/23/2025
9.4.1-beta.273 152 4/23/2025
9.4.1-beta.272 145 4/23/2025
9.4.1-beta.271 147 4/23/2025
9.4.1-beta.270 175 4/20/2025
9.4.0 30,450 4/20/2025
9.4.0-beta.269 152 4/20/2025
9.4.0-beta.268 154 4/20/2025
9.3.1-beta.267 148 4/20/2025
9.3.1-beta.266 80 4/19/2025
9.3.1-beta.265 195 4/15/2025
9.3.1-beta.264 191 4/15/2025
9.3.1-beta.263 178 4/15/2025
9.3.1-beta.262 179 4/15/2025
9.3.1-beta.260 156 4/10/2025
9.3.1-beta.259 228 4/8/2025
9.3.1-beta.258 144 4/8/2025
9.3.1-beta.257 157 4/8/2025
9.3.1-beta.256 150 4/8/2025
9.3.1-beta.255 152 4/8/2025
9.3.1-beta.254 141 4/8/2025
9.3.1-beta.253 158 4/1/2025
9.3.1-beta.252 225 3/27/2025
9.3.1-beta.250 149 3/27/2025
9.3.1-beta.249 129 3/27/2025
9.3.1-beta.248 133 3/27/2025
9.3.1-beta.247 139 3/27/2025
9.3.1-beta.244 487 3/25/2025
9.3.1-beta.242 475 3/24/2025
9.3.1-beta.241 145 3/19/2025
9.3.0 14,327 3/19/2025
9.3.0-beta.239 154 3/19/2025
9.2.2-beta.237 149 3/19/2025
9.2.2-beta.236 116 3/14/2025
9.2.2-beta.230 151 3/13/2025
9.2.2-beta.229 140 3/13/2025
9.2.2-beta.228 158 3/11/2025
9.2.2-beta.227 163 3/11/2025
9.2.2-beta.226 150 3/11/2025
9.2.2-beta.225 158 3/11/2025
9.2.2-beta.224 158 3/11/2025
9.2.2-beta.223 157 3/10/2025
9.2.2-beta.222 156 3/10/2025
9.2.2-beta.220 154 3/9/2025
9.2.2-beta.218 146 3/9/2025
9.2.2-beta.217 187 3/7/2025
9.2.2-beta.216 191 3/7/2025
9.2.2-beta.215 203 3/7/2025
9.2.2-beta.214 198 3/5/2025
9.2.2-beta.213 189 3/5/2025
9.2.2-beta.212 198 3/5/2025
9.2.2-beta.211 200 3/4/2025
9.2.2-beta.210 192 3/4/2025
9.2.2-beta.208 100 3/3/2025
9.2.1 10,084 3/3/2025
9.2.1-beta.207 116 3/2/2025
9.2.1-beta.206 87 3/1/2025
9.2.1-beta.205 75 2/27/2025
9.2.1-beta.204 104 2/26/2025
9.2.1-beta.203 86 2/26/2025
9.2.0 1,947 2/26/2025
9.2.0-beta.202 71 2/26/2025
9.2.0-beta.201 93 2/26/2025
9.2.0-beta.199 94 2/26/2025
9.2.0-beta.198 84 2/26/2025
9.1.1-beta.197 791 2/25/2025
9.1.1-beta.196 96 2/25/2025
9.1.1-beta.195 89 2/25/2025
9.1.1-beta.194 82 2/25/2025
9.1.1-beta.193 98 2/25/2025
9.1.1-beta.192 99 2/24/2025
9.1.1-beta.191 100 2/24/2025
9.1.1-beta.190 228 2/19/2025
9.1.1-beta.189 102 2/19/2025
9.1.1-beta.188 88 2/19/2025
9.1.1-beta.187 120 2/19/2025
9.1.1-beta.183 118 2/18/2025
9.1.1-beta.182 98 2/18/2025
9.1.1-beta.181 109 2/18/2025
9.1.1-beta.180 107 2/17/2025
9.1.1-beta.178 96 2/17/2025
9.1.1-beta.177 120 2/12/2025
9.1.1-beta.176 111 2/11/2025
9.1.1-beta.175 118 2/11/2025
9.1.1-beta.173 101 2/10/2025
9.1.1-beta.169 93 2/6/2025
9.1.1-beta.168 98 2/5/2025