WebApp.Start Method

 

Start a web app using default settings.

Namespace:   Microsoft.Owin.Hosting
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static Start(StartOptions)

Start a web app using the given settings and entry point type, using defaults for items not specified.

System_CAPS_pubmethodSystem_CAPS_static Start(StartOptions, Action<IAppBuilder>)

Start a web app using the given settings and entry point, using defaults for items not specified.

System_CAPS_pubmethodSystem_CAPS_static Start(String)

Start a web app using the given settings and entry point type, using defaults for items not specified.

System_CAPS_pubmethodSystem_CAPS_static Start(String, Action<IAppBuilder>)

Start a web app using default settings and the given url and entry point. e.g. Discover the ServerFactory and run at the given url.

System_CAPS_pubmethodSystem_CAPS_static Start<TStartup>(StartOptions)

Start a web app using the given settings and entry point type, using defaults for items not specified.

System_CAPS_pubmethodSystem_CAPS_static Start<TStartup>(String)

Start a web app using default settings and the given url and entry point type. e.g. Discover the ServerFactory and run at the given url.

See Also

WebApp Class
Microsoft.Owin.Hosting Namespace

Return to top

WebApp.Start Method (StartOptions)

Start a web app using the given settings and entry point type, using defaults for items not specified.

Syntax

public static IDisposable Start(
    StartOptions options
)
public:
static IDisposable^ Start(
    StartOptions^ options
)
static member Start : 
        options:StartOptions -> IDisposable
Public Shared Function Start (
    options As StartOptions
) As IDisposable

Parameters

Return Value

Type: System.IDisposable

An IDisposible instance that can be called to shut down the web app.

Return to top

WebApp.Start Method (StartOptions, Action<IAppBuilder>)

Start a web app using the given settings and entry point, using defaults for items not specified.

Syntax

public static IDisposable Start(
    StartOptions options,
    Action<IAppBuilder> startup
)
public:
static IDisposable^ Start(
    StartOptions^ options,
    Action<IAppBuilder^>^ startup
)
static member Start : 
        options:StartOptions *
        startup:Action<IAppBuilder> -> IDisposable
Public Shared Function Start (
    options As StartOptions,
    startup As Action(Of IAppBuilder)
) As IDisposable

Parameters

Return Value

Type: System.IDisposable

An IDisposible instance that can be called to shut down the web app.

Return to top

WebApp.Start Method (String)

Start a web app using the given settings and entry point type, using defaults for items not specified.

Syntax

public static IDisposable Start(
    string url
)
public:
static IDisposable^ Start(
    String^ url
)
static member Start : 
        url:string -> IDisposable
Public Shared Function Start (
    url As String
) As IDisposable

Parameters

Return Value

Type: System.IDisposable

An IDisposible instance that can be called to shut down the web app.

Return to top

WebApp.Start Method (String, Action<IAppBuilder>)

Start a web app using default settings and the given url and entry point. e.g. Discover the ServerFactory and run at the given url.

Syntax

public static IDisposable Start(
    string url,
    Action<IAppBuilder> startup
)
public:
static IDisposable^ Start(
    String^ url,
    Action<IAppBuilder^>^ startup
)
static member Start : 
        url:string *
        startup:Action<IAppBuilder> -> IDisposable
Public Shared Function Start (
    url As String,
    startup As Action(Of IAppBuilder)
) As IDisposable

Parameters

Return Value

Type: System.IDisposable

An IDisposible instance that can be called to shut down the web app.

Return to top

WebApp.Start<TStartup> Method (StartOptions)

Start a web app using the given settings and entry point type, using defaults for items not specified.

Syntax

public static IDisposable Start<TStartup>(
    StartOptions options
)
public:
generic<typename TStartup>
static IDisposable^ Start(
    StartOptions^ options
)
static member Start<'TStartup> : 
        options:StartOptions -> IDisposable
Public Shared Function Start(Of TStartup) (
    options As StartOptions
) As IDisposable

Parameters

Return Value

Type: System.IDisposable

An IDisposible instance that can be called to shut down the web app.

Type Parameters

  • TStartup

Return to top

WebApp.Start<TStartup> Method (String)

Start a web app using default settings and the given url and entry point type. e.g. Discover the ServerFactory and run at the given url.

Syntax

public static IDisposable Start<TStartup>(
    string url
)
public:
generic<typename TStartup>
static IDisposable^ Start(
    String^ url
)
static member Start<'TStartup> : 
        url:string -> IDisposable
Public Shared Function Start(Of TStartup) (
    url As String
) As IDisposable

Parameters

Return Value

Type: System.IDisposable

An IDisposible instance that can be called to shut down the web app.

Type Parameters

  • TStartup

Return to top