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)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function UseSqlServer ( _
    resolver As IDependencyResolver, _
    configuration As SqlScaleoutConfiguration _
) As IDependencyResolver
'Usage
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
)
[ExtensionAttribute]
public:
static IDependencyResolver^ UseSqlServer(
    IDependencyResolver^ resolver, 
    SqlScaleoutConfiguration^ configuration
)
static member UseSqlServer : 
        resolver:IDependencyResolver * 
        configuration:SqlScaleoutConfiguration -> IDependencyResolver
public static function UseSqlServer(
    resolver : IDependencyResolver, 
    configuration : SqlScaleoutConfiguration
) : IDependencyResolver

Parameters

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 https://msdn.microsoft.com/en-us/library/bb384936(v=vs.118) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.118).

See Also

Reference

DependencyResolverExtensions Class

UseSqlServer Overload

Microsoft.AspNet.SignalR Namespace