Click or drag to resize

WebServerGetConfiguredServer Method

Gets a shared WebServer instance created based on configured options defined in the specified settingsCategory.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public static WebServer GetConfiguredServer(
	string settingsCategory = null,
	IRazorEngine razorEngineCS = null,
	IRazorEngine razorEngineVB = null
)
View Source

Parameters

settingsCategory  String  (Optional)
Settings category to use for web server options; defaults to "systemSettings".
razorEngineCS  IRazorEngine  (Optional)
Razor engine instance for .cshtml templates; uses default instance if not provided.
razorEngineVB  IRazorEngine  (Optional)
Razor engine instance for .vbhtml templates; uses default instance if not provided.

Return Value

WebServer
Shared WebServer instance created based on configured options.
See Also