CommunityToolkit.Aspire.Hosting.Dapr
9.2.2-beta.224
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.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Dapr --version 9.2.2-beta.224
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Dapr -Version 9.2.2-beta.224
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.2-beta.224" />
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.2-beta.224" />
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Dapr" />
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.2-beta.224
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CommunityToolkit.Aspire.Hosting.Dapr, 9.2.2-beta.224"
#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.2.2-beta.224&prerelease
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr&version=9.2.2-beta.224&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
Feedback & contributing
Product | Versions 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.
-
net8.0
- Aspire.Hosting (>= 9.1.0)
- YamlDotNet (>= 16.3.0)
-
net9.0
- Aspire.Hosting (>= 9.1.0)
- YamlDotNet (>= 16.3.0)
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.4.1-beta.291 | 28 | 5/19/2025 |
9.4.1-beta.289 | 117 | 5/16/2025 |
9.4.1-beta.288 | 169 | 5/16/2025 |
9.4.1-beta.287 | 168 | 5/16/2025 |
9.4.1-beta.286 | 169 | 5/16/2025 |
9.4.1-beta.285 | 191 | 5/14/2025 |
9.4.1-beta.284 | 197 | 5/13/2025 |
9.4.1-beta.283 | 197 | 5/12/2025 |
9.4.1-beta.282 | 115 | 5/7/2025 |
9.4.1-beta.280 | 108 | 5/2/2025 |
9.4.1-beta.279 | 105 | 5/2/2025 |
9.4.1-beta.277 | 162 | 4/23/2025 |
9.4.1-beta.276 | 119 | 4/23/2025 |
9.4.1-beta.275 | 117 | 4/23/2025 |
9.4.1-beta.274 | 117 | 4/23/2025 |
9.4.1-beta.273 | 118 | 4/23/2025 |
9.4.1-beta.272 | 117 | 4/23/2025 |
9.4.1-beta.271 | 116 | 4/23/2025 |
9.4.1-beta.270 | 135 | 4/20/2025 |
9.4.0 | 6,271 | 4/20/2025 |
9.4.0-beta.269 | 117 | 4/20/2025 |
9.4.0-beta.268 | 118 | 4/20/2025 |
9.3.1-beta.267 | 118 | 4/20/2025 |
9.3.1-beta.266 | 46 | 4/19/2025 |
9.3.1-beta.265 | 156 | 4/15/2025 |
9.3.1-beta.264 | 154 | 4/15/2025 |
9.3.1-beta.263 | 147 | 4/15/2025 |
9.3.1-beta.262 | 149 | 4/15/2025 |
9.3.1-beta.260 | 131 | 4/10/2025 |
9.3.1-beta.259 | 196 | 4/8/2025 |
9.3.1-beta.258 | 121 | 4/8/2025 |
9.3.1-beta.257 | 120 | 4/8/2025 |
9.3.1-beta.256 | 122 | 4/8/2025 |
9.3.1-beta.255 | 121 | 4/8/2025 |
9.3.1-beta.254 | 114 | 4/8/2025 |
9.3.1-beta.253 | 131 | 4/1/2025 |
9.3.1-beta.252 | 183 | 3/27/2025 |
9.3.1-beta.250 | 109 | 3/27/2025 |
9.3.1-beta.249 | 103 | 3/27/2025 |
9.3.1-beta.248 | 103 | 3/27/2025 |
9.3.1-beta.247 | 102 | 3/27/2025 |
9.3.1-beta.244 | 455 | 3/25/2025 |
9.3.1-beta.242 | 447 | 3/24/2025 |
9.3.1-beta.241 | 124 | 3/19/2025 |
9.3.0 | 8,177 | 3/19/2025 |
9.3.0-beta.239 | 124 | 3/19/2025 |
9.2.2-beta.237 | 118 | 3/19/2025 |
9.2.2-beta.236 | 85 | 3/14/2025 |
9.2.2-beta.230 | 124 | 3/13/2025 |
9.2.2-beta.229 | 112 | 3/13/2025 |
9.2.2-beta.228 | 135 | 3/11/2025 |
9.2.2-beta.227 | 127 | 3/11/2025 |
9.2.2-beta.226 | 132 | 3/11/2025 |
9.2.2-beta.225 | 131 | 3/11/2025 |
9.2.2-beta.224 | 125 | 3/11/2025 |
9.2.2-beta.223 | 135 | 3/10/2025 |
9.2.2-beta.222 | 128 | 3/10/2025 |
9.2.2-beta.220 | 126 | 3/9/2025 |
9.2.2-beta.218 | 123 | 3/9/2025 |
9.2.2-beta.217 | 163 | 3/7/2025 |
9.2.2-beta.216 | 168 | 3/7/2025 |
9.2.2-beta.215 | 171 | 3/7/2025 |
9.2.2-beta.214 | 172 | 3/5/2025 |
9.2.2-beta.213 | 158 | 3/5/2025 |
9.2.2-beta.212 | 166 | 3/5/2025 |
9.2.2-beta.211 | 175 | 3/4/2025 |
9.2.2-beta.210 | 173 | 3/4/2025 |
9.2.2-beta.208 | 66 | 3/3/2025 |
9.2.1 | 6,135 | 3/3/2025 |
9.2.1-beta.207 | 89 | 3/2/2025 |
9.2.1-beta.206 | 57 | 3/1/2025 |
9.2.1-beta.205 | 57 | 2/27/2025 |
9.2.1-beta.204 | 71 | 2/26/2025 |
9.2.1-beta.203 | 59 | 2/26/2025 |
9.2.0 | 1,589 | 2/26/2025 |
9.2.0-beta.202 | 52 | 2/26/2025 |
9.2.0-beta.201 | 60 | 2/26/2025 |
9.2.0-beta.199 | 63 | 2/26/2025 |
9.2.0-beta.198 | 51 | 2/26/2025 |
9.1.1-beta.197 | 153 | 2/25/2025 |
9.1.1-beta.196 | 68 | 2/25/2025 |
9.1.1-beta.195 | 60 | 2/25/2025 |
9.1.1-beta.194 | 61 | 2/25/2025 |
9.1.1-beta.193 | 65 | 2/25/2025 |
9.1.1-beta.192 | 72 | 2/24/2025 |
9.1.1-beta.191 | 69 | 2/24/2025 |
9.1.1-beta.190 | 197 | 2/19/2025 |
9.1.1-beta.189 | 66 | 2/19/2025 |
9.1.1-beta.188 | 69 | 2/19/2025 |
9.1.1-beta.187 | 80 | 2/19/2025 |
9.1.1-beta.183 | 82 | 2/18/2025 |
9.1.1-beta.182 | 75 | 2/18/2025 |
9.1.1-beta.181 | 81 | 2/18/2025 |
9.1.1-beta.180 | 75 | 2/17/2025 |
9.1.1-beta.178 | 68 | 2/17/2025 |
9.1.1-beta.177 | 95 | 2/12/2025 |
9.1.1-beta.176 | 78 | 2/11/2025 |
9.1.1-beta.175 | 71 | 2/11/2025 |
9.1.1-beta.173 | 77 | 2/10/2025 |
9.1.1-beta.169 | 68 | 2/6/2025 |
9.1.1-beta.168 | 64 | 2/5/2025 |