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 | |
---|---|---|
![]() |
HostingEngine(IAppBuilderFactory, ITraceOutputFactory, IAppLoader, IServerFactoryLoader, ILoggerFactory) |
Properties
Name | Description | |
---|---|---|
![]() ![]() |
DefaultPort | Gets the default port number. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
Start(StartContext) | Initialize and start a web application. Major Steps: - Find and initialize the ServerFactory - Find and initialize the application - Start the server |
![]() |
ToString() | (Inherited from Object.) |
![]() ![]() |
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