net8.0net9.0net10.0
Package Description
Published
Nov 25, 2025
10mo ago
Total Downloads
55.5K
55,501
Install
dotnet add package CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis --version 13.0.0
| Product | Versions |
|---|---|
| .NET |
README
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
Changes from Previous Version
No structural changes between v13.0.0-beta.462 and v13.0.0.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
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.