AspireRedisDistributedCacheExtensions
Classstaticnet10.0
Provides extension methods for adding Redis distributed caching services to an
Hosting.IHostApplicationBuilder. namespace Microsoft.Extensions.Hosting;
public static class AspireRedisDistributedCacheExtensions{ // ...}Methods4
Section titled Methods Adds Redis distributed caching services,
Distributed.IDistributedCache, in the services provided by the builder. Adds Redis distributed caching services,
Distributed.IDistributedCache, in the services provided by the builder. AspireRedisClientBuilder Configures the Redis client to also provide distributed caching services through
Distributed.IDistributedCache. AspireRedisClientBuilder Configures the Redis client to provide a keyed distributed caching service through
Distributed.IDistributedCache using name as the key.