WebApp.Start<TStartup> Method (StartOptions)

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

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


Public Shared Function Start(Of TStartup) ( _
    options As StartOptions _
) As IDisposable
Dim options As StartOptions 
Dim returnValue As IDisposable 

returnValue = WebApp.Start(options)
public static IDisposable Start<TStartup>(
    StartOptions options
generic<typename TStartup>
static IDisposable^ Start(
    StartOptions^ options
static member Start : 
        options:StartOptions -> IDisposable
JScript does not support generic types and methods.

Type Parameters

  • TStartup
    The type of the entry point.


Return Value

Type: System.IDisposable
An IDisposable instance that can be called to shut down the web app.

See Also


WebApp Class

Start Overload

Microsoft.Owin.Hosting Namespace