Method | Description | |
---|---|---|
Dispose ( ) : void |
Releases all the resources used by the WebServer object.
|
|
RenderResponse ( |
Renders an HTTP response for a given request.
|
|
WebServer ( string webRootPath = null, IRazorEngine razorEngineCS = null, IRazorEngine razorEngineVB = null ) : System |
Creates a new WebServer.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the WebServer object and optionally releases the managed resources.
|
Method | Description | |
---|---|---|
GetConfiguredServer ( string settingsCategory = null, IRazorEngine razorEngineCS = null, IRazorEngine razorEngineVB = null ) : |
||
GetResourceFileName ( string pageName, bool embeddedResource ) : string | ||
OnExecutionException ( |
||
OnStatusMessage ( string message ) : void | ||
OpenResourceAsync ( string fileName, bool embeddedResource, |
||
ProcessHTTPHandlerAsync ( string pageName, bool embeddedResource, |
||
PublishResponseContent ( |
||
ResourceExists ( string fileName, bool embeddedResource ) : bool | ||
WebServer ( ) : System | ||
m_fileWatcher_FileChange ( object sender, |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
return | void |
public RenderResponse ( |
||
request | HTTP request message. | |
pageName | string | Name of page to render. |
isPost | bool | |
cancellationToken | Propagates notification from client that operations should be canceled. | |
model | object | Reference to model to use when rendering Razor templates, if any. |
modelType | Type of |
|
database | AdoDataConnection | |
return | Task |
public WebServer ( string webRootPath = null, IRazorEngine razorEngineCS = null, IRazorEngine razorEngineVB = null ) : System | ||
webRootPath | string | Root path for web server; defaults to template path for |
razorEngineCS | IRazorEngine | Razor engine instance for .cshtml templates; uses default instance if not provided. |
razorEngineVB | IRazorEngine | Razor engine instance for .vbhtml templates; uses default instance if not provided. |
return | System |