Class WebAPIHost
Contains the simplic web api host
Inheritance
System.Object
WebAPIHost
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.WebAPI
Assembly: Simplic.Framework.WebAPI.dll
Syntax
public class WebAPIHost : IDisposable
Constructors
| Improve this Doc View SourceWebAPIHost(String)
Initialize webapi host
Declaration
public WebAPIHost(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | Url, e.g. http://*:58080 |
Properties
| Improve this Doc View SourceEnableDynamicApi
Gets whether to enable dynamic web api
Declaration
public bool EnableDynamicApi { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableHangfireDashboard
Gets whether to enable hangfire dashboard
Declaration
public bool EnableHangfireDashboard { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDispose()
Stop webservice and dispose everything
Declaration
public void Dispose()
Start()
Start simplic framework webservice
Declaration
public void Start()
Implements
System.IDisposable