net8.0net9.0net10.0
A .NET Aspire integration for extending redis hosting.
Published
Nov 25, 2025
10mo ago
Total Downloads
81.6K
81,566
Install
dotnet add package CommunityToolkit.Aspire.Hosting.Redis.Extensions --version 13.0.0
| Product | Versions |
|---|---|
| .NET |
README
CommunityToolkit.Aspire.Hosting.Redis.Extensions library
This integration contains extensions for the Redis hosting package for .NET Aspire.
The integration provides support for running DbGate to interact with the Redis database.
Getting Started
Install the package
In your AppHost project, install the package using the following command:
dotnet add package CommunityToolkit.Aspire.Hosting.Redis.Extensions
Example usage
Then, in the Program.cs file of AppHost, define an Redis resource, then call AddRedis:
var redis = builder.AddRedis("redis")
.WithDbGate();
Additional Information
https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-redis-extensions
Feedback & contributing
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.