Share via


RedisDependencyInjectionExtensions.AddRedis Method

Definition

Overloads

AddRedis(ISignalRServerBuilder)

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

AddRedis(ISignalRServerBuilder, Action<RedisOptions>)

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

AddRedis(ISignalRServerBuilder, String)

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

AddRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

AddRedis(ISignalRServerBuilder)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

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

Parameters

Returns

The same instance of the ISignalRServerBuilder for chaining.

Applies to

AddRedis(ISignalRServerBuilder, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

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

Parameters

configure
Action<RedisOptions>

A callback to configure the Redis options.

Returns

The same instance of the ISignalRServerBuilder for chaining.

Applies to

AddRedis(ISignalRServerBuilder, String)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

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

Parameters

redisConnectionString
String

The connection string used to connect to the Redis server.

Returns

The same instance of the ISignalRServerBuilder for chaining.

Applies to

AddRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

Adds scale-out to a ISignalRServerBuilder, using a shared Redis server.

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

Parameters

redisConnectionString
String

The connection string used to connect to the Redis server.

configure
Action<RedisOptions>

A callback to configure the Redis options.

Returns

The same instance of the ISignalRServerBuilder for chaining.

Applies to