C# Class Microsoft.AspNet.SignalR.DependencyResolverExtensions

ファイルを表示 Open project: SignalR/SignalR

Public Methods

Method Description
UseRedis ( this resolver, RedisScaleoutConfiguration configuration ) : IDependencyResolver

Use Redis as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.

UseRedis ( this resolver, string server, int port, string password, string eventKey ) : IDependencyResolver

Use Redis as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.

UseServiceBus ( this resolver, ServiceBusScaleoutConfiguration configuration ) : IDependencyResolver

Use Windows Azure Service Bus as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.

Note: Only Windows Azure Service Bus is supported. Service Bus for Windows Server (on-premise) is not supported.

UseServiceBus ( this resolver, string connectionString, string topicPrefix ) : IDependencyResolver

Use Windows Azure Service Bus as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.

Note: Only Windows Azure Service Bus is supported. Service Bus for Windows Server (on-premise) is not supported.

UseSqlServer ( this resolver, SqlScaleoutConfiguration configuration ) : IDependencyResolver

Use SQL Server as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.

UseSqlServer ( this resolver, string connectionString ) : IDependencyResolver

Use SQL Server as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.

Method Details

UseRedis() public static method

Use Redis as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.
public static UseRedis ( this resolver, RedisScaleoutConfiguration configuration ) : IDependencyResolver
resolver this The dependency resolver
configuration RedisScaleoutConfiguration The Redis scale-out configuration options.
return IDependencyResolver

UseRedis() public static method

Use Redis as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.
public static UseRedis ( this resolver, string server, int port, string password, string eventKey ) : IDependencyResolver
resolver this The dependency resolver.
server string The Redis server address.
port int The Redis server port.
password string The Redis server password.
eventKey string The Redis event key to use.
return IDependencyResolver

UseServiceBus() public static method

Use Windows Azure Service Bus as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.
Note: Only Windows Azure Service Bus is supported. Service Bus for Windows Server (on-premise) is not supported.
public static UseServiceBus ( this resolver, ServiceBusScaleoutConfiguration configuration ) : IDependencyResolver
resolver this The dependency resolver.
configuration ServiceBusScaleoutConfiguration The Service Bus scale-out configuration options.
return IDependencyResolver

UseServiceBus() public static method

Use Windows Azure Service Bus as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.
Note: Only Windows Azure Service Bus is supported. Service Bus for Windows Server (on-premise) is not supported.
public static UseServiceBus ( this resolver, string connectionString, string topicPrefix ) : IDependencyResolver
resolver this The dependency resolver.
connectionString string The Service Bus connection string to use.
topicPrefix string The topic prefix to use. Typically represents the app name. This must be consistent between all nodes in the web farm.
return IDependencyResolver

UseSqlServer() public static method

Use SQL Server as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.
public static UseSqlServer ( this resolver, SqlScaleoutConfiguration configuration ) : IDependencyResolver
resolver this The dependency resolver.
configuration SqlScaleoutConfiguration The SQL scale-out configuration options.
return IDependencyResolver

UseSqlServer() public static method

Use SQL Server as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm.
public static UseSqlServer ( this resolver, string connectionString ) : IDependencyResolver
resolver this The dependency resolver.
connectionString string The SQL Server connection string.
return IDependencyResolver