Click or drag to resize
AppBuilderExtensionsUseHangfireDashboard Method (IAppBuilder, String)
Adds Dashboard UI middleware to the OWIN request processing pipeline under the given path, for the Current storage.

Namespace: Hangfire
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public static IAppBuilder UseHangfireDashboard(
	[NotNullAttribute] this IAppBuilder builder,
	[NotNullAttribute] string pathMatch
)

Parameters

builder
Type: IAppBuilder
OWIN application builder.
pathMatch
Type: SystemString
Path prefix for middleware to use, e.g. "/hangfire".

Return Value

Type: IAppBuilder

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionbuilder is null.
ArgumentNullExceptionpathMatch is null.
Remarks
Please see AppBuilderExtensions for details and examples.
See Also