CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis 9.4.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis --version 9.4.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis -Version 9.4.0
                    
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.Azure.Dapr.Redis" Version="9.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis" Version="9.4.0" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis" />
                    
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.Azure.Dapr.Redis --version 9.4.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis, 9.4.0"
                    
#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.Azure.Dapr.Redis&version=9.4.0
                    
Install CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis&version=9.4.0
                    
Install CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis as a Cake Tool

CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis library

This package provides .NET Aspire integration for Azure Redis as a Dapr component. It allows you to configure dapr state to use Azure Redis as part of your .NET Aspire AppHost projects.

Usage

To use this package, install it into your .NET Aspire AppHost project:

dotnet add package CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis
var builder = DistributedApplication.CreateBuilder(args);

var redisState = builder.AddAzureRedis("redisState")
                        .RunAsContainer(); // for local development

var daprState = builder.AddDaprStateStore("daprState")
                       .WithReference(redisState); //instructs aspire to use azure redis when publishing

var api = builder.AddProject<Projects.MyApiService>("example-api")
    .WithReference(daprState)
    .WithDaprSidecar();

builder.Build().Run();

Notes

The current version of the integration currently focuses on publishing and does not make any changes to how dapr components are handled in local development

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.4.1-beta.291 62 5/19/2025
9.4.1-beta.289 116 5/16/2025
9.4.1-beta.288 168 5/16/2025
9.4.1-beta.287 168 5/16/2025
9.4.1-beta.286 163 5/16/2025
9.4.1-beta.285 184 5/14/2025
9.4.1-beta.284 192 5/13/2025
9.4.1-beta.283 193 5/12/2025
9.4.1-beta.282 106 5/7/2025
9.4.1-beta.280 104 5/2/2025
9.4.1-beta.279 104 5/2/2025
9.4.1-beta.277 119 4/23/2025
9.4.1-beta.276 120 4/23/2025
9.4.1-beta.275 119 4/23/2025
9.4.1-beta.274 120 4/23/2025
9.4.1-beta.273 115 4/23/2025
9.4.1-beta.272 111 4/23/2025
9.4.1-beta.271 119 4/23/2025
9.4.1-beta.270 122 4/20/2025
9.4.0 387 4/20/2025
9.4.0-beta.269 122 4/20/2025
9.4.0-beta.268 115 4/20/2025
9.3.1-beta.267 117 4/20/2025
9.3.1-beta.266 45 4/19/2025
9.3.1-beta.265 147 4/15/2025
9.3.1-beta.264 148 4/15/2025
9.3.1-beta.263 149 4/15/2025
9.3.1-beta.262 149 4/15/2025
9.3.1-beta.260 125 4/10/2025
9.3.1-beta.259 122 4/8/2025
9.3.1-beta.258 116 4/8/2025
9.3.1-beta.257 121 4/8/2025
9.3.1-beta.256 118 4/8/2025
9.3.1-beta.255 125 4/8/2025
9.3.1-beta.254 124 4/8/2025
9.3.1-beta.253 126 4/1/2025
9.3.1-beta.252 100 3/27/2025
9.3.1-beta.250 101 3/27/2025
9.3.1-beta.249 101 3/27/2025
9.3.1-beta.248 96 3/27/2025
9.3.1-beta.247 103 3/27/2025
9.3.1-beta.244 449 3/25/2025
9.3.1-beta.242 447 3/24/2025
9.3.1-beta.241 120 3/19/2025
9.3.0 297 3/19/2025
9.3.0-beta.239 121 3/19/2025
9.2.2-beta.237 115 3/19/2025
9.2.2-beta.236 84 3/14/2025
9.2.2-beta.230 120 3/13/2025
9.2.2-beta.229 112 3/13/2025