Click or drag to resize

WebServer Constructor

Creates a new WebServer.

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

Parameters

options  WebServerOptions  (Optional)
Web server options to use; set to null for defaults.
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.
See Also