This integration contains extensions for the Redis hosting package for Aspire.
The integration provides support for running DbGate to interact with the Redis database.
In your AppHost project, install the package using the following command:
dotnet add package CommunityToolkit.Aspire.Hosting.Redis.Extensions
Then, in the Program.cs file of AppHost, define an Redis resource, then call AddRedis:
var redis = builder.AddRedis("redis")
.WithDbGate();https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-redis-extensions