WelcomePageExtensions.UseWelcomePage Method
Call after other middleware to specify that they should run in the welcome page.
Namespace: Owin
Assembly: Microsoft.Owin.Diagnostics (in Microsoft.Owin.Diagnostics.dll)
Overload List
Name | Description | |
---|---|---|
UseWelcomePage(IAppBuilder) | Adds the WelcomePageMiddleware to the pipeline. |
|
UseWelcomePage(IAppBuilder, PathString) | Adds the WelcomePageMiddleware to the pipeline with the given path. |
|
UseWelcomePage(IAppBuilder, String) | Adds the WelcomePageMiddleware to the pipeline with the given path. |
|
UseWelcomePage(IAppBuilder, WelcomePageOptions) | Adds the WelcomePageMiddleware to the pipeline with the given options. |
See Also
WelcomePageExtensions Class
Owin Namespace
Return to top
WelcomePageExtensions.UseWelcomePage Method (IAppBuilder)
Adds the WelcomePageMiddleware to the pipeline.
Syntax
public static IAppBuilder UseWelcomePage(
this IAppBuilder builder
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseWelcomePage(
IAppBuilder^ builder
)
static member UseWelcomePage :
builder:IAppBuilder -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseWelcomePage (
builder As IAppBuilder
) As IAppBuilder
Parameters
- builder
Type: Owin.IAppBuilder
Return Value
Type: Owin.IAppBuilder
Returns IAppBuilder.
Return to top
WelcomePageExtensions.UseWelcomePage Method (IAppBuilder, PathString)
Adds the WelcomePageMiddleware to the pipeline with the given path.
Syntax
public static IAppBuilder UseWelcomePage(
this IAppBuilder builder,
PathString path
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseWelcomePage(
IAppBuilder^ builder,
PathString path
)
static member UseWelcomePage :
builder:IAppBuilder *
path:PathString -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseWelcomePage (
builder As IAppBuilder,
path As PathString
) As IAppBuilder
Parameters
- builder
Type: Owin.IAppBuilder
- path
Type: Microsoft.Owin.PathString
Return Value
Type: Owin.IAppBuilder
Returns IAppBuilder.
Return to top
WelcomePageExtensions.UseWelcomePage Method (IAppBuilder, String)
Adds the WelcomePageMiddleware to the pipeline with the given path.
Syntax
public static IAppBuilder UseWelcomePage(
this IAppBuilder builder,
string path
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseWelcomePage(
IAppBuilder^ builder,
String^ path
)
static member UseWelcomePage :
builder:IAppBuilder *
path:string -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseWelcomePage (
builder As IAppBuilder,
path As String
) As IAppBuilder
Parameters
- builder
Type: Owin.IAppBuilder
- path
Type: System.String
Return Value
Type: Owin.IAppBuilder
Returns IAppBuilder.
Return to top
WelcomePageExtensions.UseWelcomePage Method (IAppBuilder, WelcomePageOptions)
Adds the WelcomePageMiddleware to the pipeline with the given options.
Syntax
public static IAppBuilder UseWelcomePage(
this IAppBuilder builder,
WelcomePageOptions options
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseWelcomePage(
IAppBuilder^ builder,
WelcomePageOptions^ options
)
static member UseWelcomePage :
builder:IAppBuilder *
options:WelcomePageOptions -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseWelcomePage (
builder As IAppBuilder,
options As WelcomePageOptions
) As IAppBuilder
Parameters
- builder
Type: Owin.IAppBuilder
- options
Type: Microsoft.Owin.Diagnostics.WelcomePageOptions
Return Value
Type: Owin.IAppBuilder
Returns IAppBuilder.
Return to top