WelcomePageExtensions.UseWelcomePage Method (IAppBuilder, String)
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)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function UseWelcomePage ( _
builder As IAppBuilder, _
path As String _
) As IAppBuilder
'Usage
Dim builder As IAppBuilder
Dim path As String
Dim returnValue As IAppBuilder
returnValue = builder.UseWelcomePage(path)
public static IAppBuilder UseWelcomePage(
this IAppBuilder builder,
string path
)
[ExtensionAttribute]
public:
static IAppBuilder^ UseWelcomePage(
IAppBuilder^ builder,
String^ path
)
static member UseWelcomePage :
builder:IAppBuilder *
path:string -> IAppBuilder
public static function UseWelcomePage(
builder : IAppBuilder,
path : String
) : IAppBuilder
Parameters
- builder
Type: IAppBuilder
The application builder.
- path
Type: System.String
The path to display the welcome page.
Return Value
Type: IAppBuilder
The welcome page.
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 https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).