AspireRedisOutputCacheExtensions
Class static net10.0
Provides extension methods for adding Redis output caching services to the
Hosting.IHostApplicationBuilder. namespace Microsoft.Extensions.Hosting;
public static class AspireRedisOutputCacheExtensions{ // ...}Methods3
Section titled MethodsAddKeyedRedisOutputCache(IHostApplicationBuilder, string, Action<StackExchangeRedisSettings>, Action<ConfigurationOptions>)extension Adds Redis output caching services for the given
name in the services provided by the builder. AddRedisOutputCache(IHostApplicationBuilder, string, Action<StackExchangeRedisSettings>, Action<ConfigurationOptions>)extension Adds Redis output caching services in the services provided by the
builder. WithOutputCache(AspireRedisClientBuilder)extensionAspireRedisClientBuilder Configures the Redis client to provide output caching services through
OutputCaching.IOutputCacheStore.