Skip to content
Docs Try Aspire

AspireRedisClientBuilder Properties

Class Properties 3 members
Provides a builder for configuring Redis client services using StackExchange.Redis in an Aspire application.
HostBuilder Section titled HostBuilder IHostApplicationBuilder
Gets the Hosting.IHostApplicationBuilder with which services are being registered.
public IHostApplicationBuilder HostBuilder { get; }
ServiceKey Section titled ServiceKey nullable string?
Gets the service key used to register the Redis.IConnectionMultiplexer service, if any.
public string? ServiceKey { get; }
Gets the StackExchangeRedisSettings used to configure the Redis client.
public StackExchangeRedisSettings Settings { get; }