CommunityToolkit.Aspire.Hosting.Dapr 9.4.1-beta.286

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

Package Description

Hexalith.NetAspire.Hosting

Hexalith is a set of libraries to build an application with micro-service architecture.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.5.1-beta.300 0 5/28/2025
9.5.0 341 5/27/2025
9.5.0-beta.299 27 5/27/2025
9.5.0-beta.298 36 5/26/2025
9.5.0-beta.297 39 5/24/2025
9.5.0-beta.296 37 5/24/2025
9.5.0-beta.295 34 5/24/2025
9.4.1-beta.291 108 5/19/2025
9.4.1-beta.289 118 5/16/2025
9.4.1-beta.288 171 5/16/2025
9.4.1-beta.287 169 5/16/2025
9.4.1-beta.286 170 5/16/2025
9.4.1-beta.285 193 5/14/2025
9.4.1-beta.284 203 5/13/2025
9.4.1-beta.283 199 5/12/2025
9.4.1-beta.282 117 5/7/2025
9.4.1-beta.280 110 5/2/2025
9.4.1-beta.279 107 5/2/2025
9.4.1-beta.277 163 4/23/2025
9.4.1-beta.276 120 4/23/2025
9.4.1-beta.275 118 4/23/2025
9.4.1-beta.274 118 4/23/2025
9.4.1-beta.273 119 4/23/2025
9.4.1-beta.272 118 4/23/2025
9.4.1-beta.271 117 4/23/2025
9.4.1-beta.270 136 4/20/2025
9.4.0 8,795 4/20/2025
9.4.0-beta.269 118 4/20/2025
9.4.0-beta.268 119 4/20/2025
9.3.1-beta.267 121 4/20/2025
9.3.1-beta.266 47 4/19/2025
9.3.1-beta.265 157 4/15/2025
9.3.1-beta.264 155 4/15/2025
9.3.1-beta.263 148 4/15/2025
9.3.1-beta.262 150 4/15/2025
9.3.1-beta.260 132 4/10/2025
9.3.1-beta.259 198 4/8/2025
9.3.1-beta.258 122 4/8/2025
9.3.1-beta.257 121 4/8/2025
9.3.1-beta.256 123 4/8/2025
9.3.1-beta.255 122 4/8/2025
9.3.1-beta.254 115 4/8/2025
9.3.1-beta.253 132 4/1/2025
9.3.1-beta.252 186 3/27/2025
9.3.1-beta.250 111 3/27/2025
9.3.1-beta.249 105 3/27/2025
9.3.1-beta.248 105 3/27/2025
9.3.1-beta.247 104 3/27/2025
9.3.1-beta.244 457 3/25/2025
9.3.1-beta.242 448 3/24/2025
9.3.1-beta.241 125 3/19/2025
9.3.0 8,583 3/19/2025
9.3.0-beta.239 125 3/19/2025
9.2.2-beta.237 119 3/19/2025
9.2.2-beta.236 86 3/14/2025
9.2.2-beta.230 125 3/13/2025
9.2.2-beta.229 113 3/13/2025
9.2.2-beta.228 137 3/11/2025
9.2.2-beta.227 128 3/11/2025
9.2.2-beta.226 133 3/11/2025
9.2.2-beta.225 132 3/11/2025
9.2.2-beta.224 126 3/11/2025
9.2.2-beta.223 136 3/10/2025
9.2.2-beta.222 129 3/10/2025
9.2.2-beta.220 127 3/9/2025
9.2.2-beta.218 124 3/9/2025
9.2.2-beta.217 164 3/7/2025
9.2.2-beta.216 169 3/7/2025
9.2.2-beta.215 172 3/7/2025
9.2.2-beta.214 173 3/5/2025
9.2.2-beta.213 160 3/5/2025
9.2.2-beta.212 168 3/5/2025
9.2.2-beta.211 176 3/4/2025
9.2.2-beta.210 174 3/4/2025
9.2.2-beta.208 67 3/3/2025
9.2.1 6,267 3/3/2025
9.2.1-beta.207 90 3/2/2025
9.2.1-beta.206 58 3/1/2025
9.2.1-beta.205 58 2/27/2025
9.2.1-beta.204 73 2/26/2025
9.2.1-beta.203 60 2/26/2025
9.2.0 1,619 2/26/2025
9.2.0-beta.202 53 2/26/2025
9.2.0-beta.201 62 2/26/2025
9.2.0-beta.199 65 2/26/2025
9.2.0-beta.198 52 2/26/2025
9.1.1-beta.197 159 2/25/2025
9.1.1-beta.196 69 2/25/2025
9.1.1-beta.195 61 2/25/2025
9.1.1-beta.194 62 2/25/2025
9.1.1-beta.193 66 2/25/2025
9.1.1-beta.192 73 2/24/2025
9.1.1-beta.191 70 2/24/2025
9.1.1-beta.190 200 2/19/2025
9.1.1-beta.189 68 2/19/2025
9.1.1-beta.188 70 2/19/2025
9.1.1-beta.187 82 2/19/2025
9.1.1-beta.183 84 2/18/2025
9.1.1-beta.182 77 2/18/2025
9.1.1-beta.181 83 2/18/2025
9.1.1-beta.180 77 2/17/2025
9.1.1-beta.178 69 2/17/2025
9.1.1-beta.177 96 2/12/2025
9.1.1-beta.176 79 2/11/2025
9.1.1-beta.175 72 2/11/2025
9.1.1-beta.173 78 2/10/2025
9.1.1-beta.169 69 2/6/2025
9.1.1-beta.168 66 2/5/2025