C# Class Microsoft.AspNet.SignalR.DependencyResolverExtensions

Afficher le fichier Open project: SignalR/SignalR

Méthodes publiques

Méthode 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 méthode

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.
Résultat IDependencyResolver

UseRedis() public static méthode

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.
Résultat IDependencyResolver

UseServiceBus() public static méthode

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.
Résultat IDependencyResolver

UseServiceBus() public static méthode

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.
Résultat IDependencyResolver

UseSqlServer() public static méthode

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.
Résultat IDependencyResolver

UseSqlServer() public static méthode

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.
Résultat IDependencyResolver