WebApp Class

These methods are used to load, assemble, and start a web app.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.WebApp

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

Syntax

'Declaration
Public NotInheritable Class WebApp
'Usage
public static class WebApp
public ref class WebApp abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type WebApp =  class end
public final class WebApp

Methods

  Name Description
Public methodStatic member Start(String) Start a web app using the given settings and entry point type, using defaults for items not specified.
Public methodStatic member Start(StartOptions) Start a web app with the given options, using defaults for items not specified.
Public methodStatic member 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.
Public methodStatic member Start(StartOptions, Action<IAppBuilder>) Start a web app using the given settings and entry point, using defaults for items not specified.
Public methodStatic member 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.
Public methodStatic member Start<TStartup>(StartOptions) Start a web app using the given settings and entry point type, using defaults for items not specified.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Owin.Hosting Namespace