CommunityToolkit.Aspire.Hosting.Dapr 9.3.1-beta.267

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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.8.0-beta.370 0 9/2/2025
9.8.0-beta.364 20 9/1/2025
9.7.2 512 8/29/2025
9.7.2-beta.362 153 8/29/2025
9.7.2-beta.361 158 8/29/2025
9.7.2-beta.360 155 8/29/2025
9.7.2-beta.359 163 8/28/2025
9.7.2-beta.358 153 8/28/2025
9.7.2-beta.357 156 8/28/2025
9.7.1 499 8/27/2025
9.7.1-beta.355 155 8/27/2025
9.7.1-beta.354 158 8/27/2025
9.7.1-beta.353 153 8/27/2025
9.7.1-beta.352 156 8/27/2025
9.7.1-beta.351 161 8/27/2025
9.7.1-beta.348 154 8/14/2025
9.7.1-beta.344 72 8/10/2025
9.7.1-beta.343 199 8/8/2025
9.7.1-beta.342 199 8/7/2025
9.7.1-beta.341 197 8/6/2025
9.7.1-beta.340 188 8/5/2025
9.7.1-beta.339 181 8/5/2025
9.7.0 6,538 8/1/2025
9.7.0-beta.337 83 8/1/2025
9.7.0-beta.336 90 8/1/2025
9.7.0-beta.335 91 8/1/2025
9.7.0-beta.333 125 7/30/2025
9.6.1-beta.332 310 7/30/2025
9.6.1-beta.331 97 7/30/2025
9.6.1-beta.330 97 7/30/2025
9.6.1-beta.329 99 7/30/2025
9.6.1-beta.328 101 7/29/2025
9.6.1-beta.327 98 7/28/2025
9.6.1-beta.326 99 7/28/2025
9.6.0 5,988 7/10/2025
9.6.0-beta.324 123 7/10/2025
9.5.1-beta.323 126 7/10/2025
9.5.1-beta.322 122 7/10/2025
9.5.1-beta.321 125 7/10/2025
9.5.1-beta.320 154 7/9/2025
9.5.1-beta.319 127 7/8/2025
9.5.1-beta.318 124 7/2/2025
9.5.1-beta.317 116 6/30/2025
9.5.1-beta.315 132 6/26/2025
9.5.1-beta.314 134 6/23/2025
9.5.1-beta.313 116 6/20/2025
9.5.1-beta.312 120 6/20/2025
9.5.1-beta.311 128 6/18/2025
9.5.1-beta.310 133 6/17/2025
9.5.1-beta.309 123 6/17/2025
9.5.1-beta.308 131 6/17/2025
9.5.1-beta.307 219 6/16/2025
9.5.1-beta.306 293 6/11/2025
9.5.1-beta.305 107 6/7/2025
9.5.1-beta.304 120 6/6/2025
9.5.1-beta.303 138 6/4/2025
9.5.1-beta.302 136 6/4/2025
9.5.1-beta.301 135 6/2/2025
9.5.1-beta.300 148 5/28/2025
9.5.0 15,315 5/27/2025
9.5.0-beta.299 136 5/27/2025
9.5.0-beta.298 142 5/26/2025
9.5.0-beta.297 123 5/24/2025
9.5.0-beta.296 85 5/24/2025
9.5.0-beta.295 65 5/24/2025
9.4.1-beta.291 140 5/19/2025
9.4.1-beta.289 145 5/16/2025
9.4.1-beta.288 201 5/16/2025
9.4.1-beta.287 205 5/16/2025
9.4.1-beta.286 201 5/16/2025
9.4.1-beta.285 217 5/14/2025
9.4.1-beta.284 460 5/13/2025
9.4.1-beta.283 224 5/12/2025
9.4.1-beta.282 141 5/7/2025
9.4.1-beta.280 164 5/2/2025
9.4.1-beta.279 137 5/2/2025
9.4.1-beta.277 229 4/23/2025
9.4.1-beta.276 153 4/23/2025
9.4.1-beta.275 142 4/23/2025
9.4.1-beta.274 138 4/23/2025
9.4.1-beta.273 147 4/23/2025
9.4.1-beta.272 142 4/23/2025
9.4.1-beta.271 142 4/23/2025
9.4.1-beta.270 172 4/20/2025
9.4.0 26,894 4/20/2025
9.4.0-beta.269 148 4/20/2025
9.4.0-beta.268 151 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 190 4/15/2025
9.3.1-beta.264 187 4/15/2025
9.3.1-beta.263 175 4/15/2025
9.3.1-beta.262 175 4/15/2025
9.3.1-beta.260 155 4/10/2025
9.3.1-beta.259 224 4/8/2025
9.3.1-beta.258 143 4/8/2025
9.3.1-beta.257 156 4/8/2025
9.3.1-beta.256 144 4/8/2025
9.3.1-beta.255 150 4/8/2025
9.3.1-beta.254 138 4/8/2025
9.3.1-beta.253 156 4/1/2025
9.3.1-beta.252 218 3/27/2025
9.3.1-beta.250 144 3/27/2025
9.3.1-beta.249 127 3/27/2025
9.3.1-beta.248 130 3/27/2025
9.3.1-beta.247 135 3/27/2025
9.3.1-beta.244 484 3/25/2025
9.3.1-beta.242 472 3/24/2025
9.3.1-beta.241 144 3/19/2025
9.3.0 12,583 3/19/2025
9.3.0-beta.239 152 3/19/2025
9.2.2-beta.237 145 3/19/2025
9.2.2-beta.236 112 3/14/2025
9.2.2-beta.230 149 3/13/2025
9.2.2-beta.229 136 3/13/2025
9.2.2-beta.228 157 3/11/2025
9.2.2-beta.227 158 3/11/2025
9.2.2-beta.226 149 3/11/2025
9.2.2-beta.225 155 3/11/2025
9.2.2-beta.224 154 3/11/2025
9.2.2-beta.223 156 3/10/2025
9.2.2-beta.222 152 3/10/2025
9.2.2-beta.220 149 3/9/2025
9.2.2-beta.218 142 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 201 3/7/2025
9.2.2-beta.214 193 3/5/2025
9.2.2-beta.213 187 3/5/2025
9.2.2-beta.212 198 3/5/2025
9.2.2-beta.211 197 3/4/2025
9.2.2-beta.210 191 3/4/2025
9.2.2-beta.208 97 3/3/2025
9.2.1 9,563 3/3/2025
9.2.1-beta.207 113 3/2/2025
9.2.1-beta.206 85 3/1/2025
9.2.1-beta.205 74 2/27/2025
9.2.1-beta.204 102 2/26/2025
9.2.1-beta.203 82 2/26/2025
9.2.0 1,884 2/26/2025
9.2.0-beta.202 70 2/26/2025
9.2.0-beta.201 92 2/26/2025
9.2.0-beta.199 91 2/26/2025
9.2.0-beta.198 76 2/26/2025
9.1.1-beta.197 725 2/25/2025
9.1.1-beta.196 93 2/25/2025
9.1.1-beta.195 86 2/25/2025
9.1.1-beta.194 82 2/25/2025
9.1.1-beta.193 94 2/25/2025
9.1.1-beta.192 96 2/24/2025
9.1.1-beta.191 95 2/24/2025
9.1.1-beta.190 228 2/19/2025
9.1.1-beta.189 99 2/19/2025
9.1.1-beta.188 88 2/19/2025
9.1.1-beta.187 115 2/19/2025
9.1.1-beta.183 116 2/18/2025
9.1.1-beta.182 98 2/18/2025
9.1.1-beta.181 105 2/18/2025
9.1.1-beta.180 105 2/17/2025
9.1.1-beta.178 91 2/17/2025
9.1.1-beta.177 119 2/12/2025
9.1.1-beta.176 108 2/11/2025
9.1.1-beta.175 118 2/11/2025
9.1.1-beta.173 99 2/10/2025
9.1.1-beta.169 93 2/6/2025
9.1.1-beta.168 93 2/5/2025