CommunityToolkit.Aspire.Hosting.Dapr 9.8.0-beta.405

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

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 (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
9.8.1-beta.410 0 10/16/2025
9.8.1-beta.408 0 10/16/2025
9.8.1-beta.407 0 10/16/2025
9.8.1-beta.406 67 10/15/2025
9.8.0 4,906 9/26/2025
9.8.0-beta.405 30 10/15/2025
9.8.0-beta.404 36 10/13/2025
9.8.0-beta.402 202 9/29/2025
9.8.0-beta.401 118 9/29/2025
9.8.0-beta.399 124 9/26/2025
9.8.0-beta.398 131 9/25/2025
9.8.0-beta.397 127 9/25/2025
9.8.0-beta.395 129 9/24/2025
9.8.0-beta.394 145 9/23/2025
9.8.0-beta.393 125 9/23/2025
9.8.0-beta.392 127 9/23/2025
9.8.0-beta.389 250 9/18/2025
9.8.0-beta.388 254 9/16/2025
9.8.0-beta.386 242 9/15/2025
9.8.0-beta.385 200 9/15/2025
9.8.0-beta.384 49 9/13/2025
9.8.0-beta.376 147 9/8/2025
9.8.0-beta.375 59 9/6/2025
9.8.0-beta.373 141 9/5/2025
9.8.0-beta.372 134 9/4/2025
9.8.0-beta.370 127 9/2/2025
9.8.0-beta.364 127 9/1/2025
9.7.2 11,156 8/29/2025
9.7.2-beta.362 168 8/29/2025
9.7.2-beta.361 175 8/29/2025
9.7.2-beta.360 168 8/29/2025
9.7.2-beta.359 188 8/28/2025
9.7.2-beta.358 166 8/28/2025
9.7.2-beta.357 168 8/28/2025
9.7.1 861 8/27/2025
9.7.1-beta.355 166 8/27/2025
9.7.1-beta.354 169 8/27/2025
9.7.1-beta.353 165 8/27/2025
9.7.1-beta.352 167 8/27/2025
9.7.1-beta.351 172 8/27/2025
9.7.1-beta.348 163 8/14/2025
9.7.1-beta.344 76 8/10/2025
9.7.1-beta.343 205 8/8/2025
9.7.1-beta.342 204 8/7/2025
9.7.1-beta.341 204 8/6/2025
9.7.1-beta.340 193 8/5/2025
9.7.1-beta.339 186 8/5/2025
9.7.0 11,833 8/1/2025
9.7.0-beta.337 86 8/1/2025
9.7.0-beta.336 95 8/1/2025
9.7.0-beta.335 97 8/1/2025
9.7.0-beta.333 129 7/30/2025
9.6.1-beta.332 315 7/30/2025
9.6.1-beta.331 100 7/30/2025
9.6.1-beta.330 100 7/30/2025
9.6.1-beta.329 102 7/30/2025
9.6.1-beta.328 113 7/29/2025
9.6.1-beta.327 118 7/28/2025
9.6.1-beta.326 119 7/28/2025
9.6.0 9,086 7/10/2025
9.6.0-beta.324 130 7/10/2025
9.5.1-beta.323 141 7/10/2025
9.5.1-beta.322 127 7/10/2025
9.5.1-beta.321 130 7/10/2025
9.5.1-beta.320 159 7/9/2025
9.5.1-beta.319 132 7/8/2025
9.5.1-beta.318 131 7/2/2025
9.5.1-beta.317 122 6/30/2025
9.5.1-beta.315 135 6/26/2025
9.5.1-beta.314 146 6/23/2025
9.5.1-beta.313 119 6/20/2025
9.5.1-beta.312 141 6/20/2025
9.5.1-beta.311 139 6/18/2025
9.5.1-beta.310 149 6/17/2025
9.5.1-beta.309 126 6/17/2025
9.5.1-beta.308 156 6/17/2025
9.5.1-beta.307 320 6/16/2025
9.5.1-beta.306 314 6/11/2025
9.5.1-beta.305 116 6/7/2025
9.5.1-beta.304 131 6/6/2025
9.5.1-beta.303 148 6/4/2025
9.5.1-beta.302 150 6/4/2025
9.5.1-beta.301 149 6/2/2025
9.5.1-beta.300 166 5/28/2025
9.5.0 20,173 5/27/2025
9.5.0-beta.299 148 5/27/2025
9.5.0-beta.298 153 5/26/2025
9.5.0-beta.297 142 5/24/2025
9.5.0-beta.296 87 5/24/2025
9.5.0-beta.295 76 5/24/2025
9.4.1-beta.291 151 5/19/2025
9.4.1-beta.289 158 5/16/2025
9.4.1-beta.288 217 5/16/2025
9.4.1-beta.287 215 5/16/2025
9.4.1-beta.286 212 5/16/2025
9.4.1-beta.285 222 5/14/2025
9.4.1-beta.284 482 5/13/2025
9.4.1-beta.283 227 5/12/2025
9.4.1-beta.282 155 5/7/2025
9.4.1-beta.280 247 5/2/2025
9.4.1-beta.279 152 5/2/2025
9.4.1-beta.277 269 4/23/2025
9.4.1-beta.276 168 4/23/2025
9.4.1-beta.275 146 4/23/2025
9.4.1-beta.274 141 4/23/2025
9.4.1-beta.273 159 4/23/2025
9.4.1-beta.272 156 4/23/2025
9.4.1-beta.271 156 4/23/2025
9.4.1-beta.270 187 4/20/2025
9.4.0 38,492 4/20/2025
9.4.0-beta.269 163 4/20/2025
9.4.0-beta.268 167 4/20/2025
9.3.1-beta.267 157 4/20/2025
9.3.1-beta.266 85 4/19/2025
9.3.1-beta.265 203 4/15/2025
9.3.1-beta.264 205 4/15/2025
9.3.1-beta.263 190 4/15/2025
9.3.1-beta.262 187 4/15/2025
9.3.1-beta.260 158 4/10/2025
9.3.1-beta.259 239 4/8/2025
9.3.1-beta.258 145 4/8/2025
9.3.1-beta.257 164 4/8/2025
9.3.1-beta.256 159 4/8/2025
9.3.1-beta.255 159 4/8/2025
9.3.1-beta.254 149 4/8/2025
9.3.1-beta.253 167 4/1/2025
9.3.1-beta.252 241 3/27/2025
9.3.1-beta.250 157 3/27/2025
9.3.1-beta.249 131 3/27/2025
9.3.1-beta.248 143 3/27/2025
9.3.1-beta.247 148 3/27/2025
9.3.1-beta.244 497 3/25/2025
9.3.1-beta.242 483 3/24/2025
9.3.1-beta.241 147 3/19/2025
9.3.0 19,074 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 125 3/14/2025
9.2.2-beta.230 163 3/13/2025
9.2.2-beta.229 149 3/13/2025
9.2.2-beta.228 160 3/11/2025
9.2.2-beta.227 173 3/11/2025
9.2.2-beta.226 151 3/11/2025
9.2.2-beta.225 169 3/11/2025
9.2.2-beta.224 168 3/11/2025
9.2.2-beta.223 158 3/10/2025
9.2.2-beta.222 168 3/10/2025
9.2.2-beta.220 166 3/9/2025
9.2.2-beta.218 159 3/9/2025
9.2.2-beta.217 200 3/7/2025
9.2.2-beta.216 192 3/7/2025
9.2.2-beta.215 209 3/7/2025
9.2.2-beta.214 204 3/5/2025
9.2.2-beta.213 202 3/5/2025
9.2.2-beta.212 208 3/5/2025
9.2.2-beta.211 205 3/4/2025
9.2.2-beta.210 193 3/4/2025
9.2.2-beta.208 110 3/3/2025
9.2.1 11,115 3/3/2025
9.2.1-beta.207 125 3/2/2025
9.2.1-beta.206 96 3/1/2025
9.2.1-beta.205 76 2/27/2025
9.2.1-beta.204 116 2/26/2025
9.2.1-beta.203 93 2/26/2025
9.2.0 2,049 2/26/2025
9.2.0-beta.202 72 2/26/2025
9.2.0-beta.201 104 2/26/2025
9.2.0-beta.199 106 2/26/2025
9.2.0-beta.198 95 2/26/2025
9.1.1-beta.197 924 2/25/2025
9.1.1-beta.196 104 2/25/2025
9.1.1-beta.195 97 2/25/2025
9.1.1-beta.194 84 2/25/2025
9.1.1-beta.193 113 2/25/2025
9.1.1-beta.192 108 2/24/2025
9.1.1-beta.191 108 2/24/2025
9.1.1-beta.190 229 2/19/2025
9.1.1-beta.189 113 2/19/2025
9.1.1-beta.188 90 2/19/2025
9.1.1-beta.187 128 2/19/2025
9.1.1-beta.183 127 2/18/2025
9.1.1-beta.182 102 2/18/2025
9.1.1-beta.181 115 2/18/2025
9.1.1-beta.180 116 2/17/2025
9.1.1-beta.178 107 2/17/2025
9.1.1-beta.177 127 2/12/2025
9.1.1-beta.176 122 2/11/2025
9.1.1-beta.175 126 2/11/2025
9.1.1-beta.173 108 2/10/2025
9.1.1-beta.169 96 2/6/2025
9.1.1-beta.168 109 2/5/2025