C# Класс Microsoft.AspNet.SignalR.DependencyResolverExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

UseRedis() публичный статический Метод

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.
Результат IDependencyResolver

UseRedis() публичный статический Метод

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.
Результат IDependencyResolver

UseServiceBus() публичный статический Метод

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.
Результат IDependencyResolver

UseServiceBus() публичный статический Метод

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.
Результат IDependencyResolver

UseSqlServer() публичный статический Метод

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.
Результат IDependencyResolver

UseSqlServer() публичный статический Метод

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.
Результат IDependencyResolver