Share via


StackExchangeRedisDependencyInjectionExtensions.AddStackExchangeRedis Method

Definition

Overloads

AddStackExchangeRedis(ISignalRServerBuilder)

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

AddStackExchangeRedis(ISignalRServerBuilder, Action<RedisOptions>)

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

AddStackExchangeRedis(ISignalRServerBuilder, String)

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

AddStackExchangeRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

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

AddStackExchangeRedis(ISignalRServerBuilder)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

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

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

Parameters

Returns

The same instance of the ISignalRServerBuilder for chaining.

Applies to

AddStackExchangeRedis(ISignalRServerBuilder, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

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

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> configure);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (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

AddStackExchangeRedis(ISignalRServerBuilder, String)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

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

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, string redisConnectionString);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * string -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (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

AddStackExchangeRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

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

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, string redisConnectionString, Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> configure);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * string * Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (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