Share via


HostingEngine Class

 

Used to initialize and start a web application.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.Engine.HostingEngine

Syntax

public class HostingEngine : IHostingEngine
public ref class HostingEngine : IHostingEngine
type HostingEngine = 
    class
        interface IHostingEngine
    end
Public Class HostingEngine
    Implements IHostingEngine

Constructors

Name Description
System_CAPS_pubmethod HostingEngine(IAppBuilderFactory, ITraceOutputFactory, IAppLoader, IServerFactoryLoader, ILoggerFactory)

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static DefaultPort

Gets the default port number.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Start(StartContext)

Initialize and start a web application. Major Steps: - Find and initialize the ServerFactory - Find and initialize the application - Start the server

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static TryDetermineCustomPort(StartOptions, Int32)

Tries to determine a custom port setting from the startup options or the port environment variable.

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

Microsoft.Owin.Hosting.Engine Namespace

Return to top