net8.0net9.0net10.0
Package Description
Published
Mar 5, 2026
7mo ago
Total Downloads
55.5K
55,501
Install
dotnet add package CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis --version 13.2.1-beta.528
| Product | Versions |
|---|---|
| .NET |
README
CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis library
This package provides Aspire integration for Azure Redis as a Dapr component. It allows you to configure dapr state to use Azure Redis as part of your Aspire AppHost projects.
Usage
To use this package, install it into your 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
Changes from Previous Version
No structural changes between v13.1.2-beta.518 and v13.2.1-beta.528.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.