Skip to content
DocsTry Aspire
DocsTry

AspireRedisClientBuilder Properties

ClassProperties3 members
Provides a builder for configuring Redis client services using StackExchange.Redis in an Aspire application.
HostBuilderSection titled HostBuilderIHostApplicationBuilder
Gets the Hosting.IHostApplicationBuilder with which services are being registered.
public IHostApplicationBuilder HostBuilder { get; }
ServiceKeySection titled ServiceKeynullablestring?
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; }