Table of Contents

Class RedisSettings

Namespace
adas_core.Domain.Models.AppSettings
Assembly
adas-core.Domain.dll

Configuración Redis. No contiene lógica de qué entidades usan Redis (eso está en CacheSettings). Esta clase solo define:

  • Conexión
  • Cluster/Scalability
  • SSL/password
  • TTL global y por entidad
  • Generación de claves CacheKeys
public class RedisSettings
Inheritance
RedisSettings
Inherited Members
Extension Methods

Properties

ChannelPrefix

public string ChannelPrefix { get; set; }

Property Value

string

ConnectionString

public string? ConnectionString { get; set; }

Property Value

string

EnableScalable

public bool EnableScalable { get; set; }

Property Value

bool

Endpoints

public IEnumerable<RedisSettings.RedisEndpoint> Endpoints { get; set; }

Property Value

IEnumerable<RedisSettings.RedisEndpoint>

ExpireKeyInSeconds

public int? ExpireKeyInSeconds { get; set; }

Property Value

int?

Password

public string? Password { get; set; }

Property Value

string

Ssl

public bool Ssl { get; set; }

Property Value

bool

Ttl

public TtlSettings Ttl { get; set; }

Property Value

TtlSettings