DependencyResolverExtensions.UseSqlServer Method (IDependencyResolver, SqlScaleoutConfiguration)

.NET Framework 4.5

Use SQL server as a messaging backplane to scale-out message bus implementation.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.SqlServer (in Microsoft.AspNet.SignalR.SqlServer.dll)


<ExtensionAttribute> _
Public Shared Function UseSqlServer ( _
    resolver As IDependencyResolver, _
    configuration As SqlScaleoutConfiguration _
) As IDependencyResolver
Dim resolver As IDependencyResolver 
Dim configuration As SqlScaleoutConfiguration 
Dim returnValue As IDependencyResolver 

returnValue = resolver.UseSqlServer(configuration)
public static IDependencyResolver UseSqlServer(
    this IDependencyResolver resolver,
    SqlScaleoutConfiguration configuration
static IDependencyResolver^ UseSqlServer(
    IDependencyResolver^ resolver, 
    SqlScaleoutConfiguration^ configuration
static member UseSqlServer : 
        resolver:IDependencyResolver * 
        configuration:SqlScaleoutConfiguration -> IDependencyResolver
public static function UseSqlServer(
    resolver : IDependencyResolver, 
    configuration : SqlScaleoutConfiguration
) : IDependencyResolver


Return Value

Type: Microsoft.AspNet.SignalR.IDependencyResolver
The dependency resolver.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDependencyResolver. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


DependencyResolverExtensions Class

UseSqlServer Overload

Microsoft.AspNet.SignalR Namespace