Compartir a través de


RedisDependencyInjectionExtensions.AddRedis Método

Definición

Sobrecargas

AddRedis(ISignalRServerBuilder)

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

AddRedis(ISignalRServerBuilder, Action<RedisOptions>)

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

AddRedis(ISignalRServerBuilder, String)

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

AddRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

AddRedis(ISignalRServerBuilder)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder);
static member AddRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddRedis (signalrBuilder As ISignalRServerBuilder) As ISignalRServerBuilder

Parámetros

Devoluciones

La misma instancia de ISignalRServerBuilder para el encadenamiento.

Se aplica a

AddRedis(ISignalRServerBuilder, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, Action<Microsoft.AspNetCore.SignalR.Redis.RedisOptions> configure);
static member AddRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * Action<Microsoft.AspNetCore.SignalR.Redis.RedisOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddRedis (signalrBuilder As ISignalRServerBuilder, configure As Action(Of RedisOptions)) As ISignalRServerBuilder

Parámetros

configure
Action<RedisOptions>

Devolución de llamada para configurar las opciones de Redis.

Devoluciones

La misma instancia de ISignalRServerBuilder para el encadenamiento.

Se aplica a

AddRedis(ISignalRServerBuilder, String)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, string redisConnectionString);
static member AddRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * string -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddRedis (signalrBuilder As ISignalRServerBuilder, redisConnectionString As String) As ISignalRServerBuilder

Parámetros

redisConnectionString
String

Cadena de conexión que se usa para conectarse al servidor de Redis.

Devoluciones

La misma instancia de ISignalRServerBuilder para el encadenamiento.

Se aplica a

AddRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Agrega el escalado horizontal a un ISignalRServerBuilder, mediante un servidor de Redis compartido.

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, string redisConnectionString, Action<Microsoft.AspNetCore.SignalR.Redis.RedisOptions> configure);
static member AddRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * string * Action<Microsoft.AspNetCore.SignalR.Redis.RedisOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddRedis (signalrBuilder As ISignalRServerBuilder, redisConnectionString As String, configure As Action(Of RedisOptions)) As ISignalRServerBuilder

Parámetros

redisConnectionString
String

Cadena de conexión que se usa para conectarse al servidor de Redis.

configure
Action<RedisOptions>

Devolución de llamada para configurar las opciones de Redis.

Devoluciones

La misma instancia de ISignalRServerBuilder para el encadenamiento.

Se aplica a