Click or drag to resize

WebServerOptions Class

Represents configuration options for a WebServer instance.
Inheritance Hierarchy
SystemObject
  GSF.Web.HostingWebServerOptions

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public class WebServerOptions
View Source

The WebServerOptions type exposes the following members.

Constructors
 NameDescription
Public methodWebServerOptions Creates a new WebServerOptions instance.
Top
Properties
 NameDescription
Public propertyAuthTestPage Gets or sets the page name used to test user authorization.
Public propertyClientCacheEnabled Gets or sets flag that determines if cache control is enabled for browser clients; default to true.
Public propertyErrorTemplateName Gets or sets template file name to use when a Razor compile or execution exception occurs.
Public propertyMinifyJavascript Gets or sets value that determines if minification should be applied to rendered Javascript files.
Public propertyMinifyJavascriptExclusionExpression Gets or sets the regular expression that will exclude Javascript files from being minified. Assigning empty or null value results in all files targeted for minification.
Public propertyMinifyStyleSheets Gets or sets value that determines if minification should be applied to rendered CSS files.
Public propertyMinifyStyleSheetsExclusionExpression Gets or sets the regular expression that will exclude CSS files from being minified. Assigning empty or null value results in all files targeted for minification.
Public propertyPhysicalWebRootPath Gets physical path for WebRootPath.
Public propertyReadonly Gets an immutable version of the web server options.
Public propertySessionToken Gets or sets the token used for identifying the session ID in cookie headers.
Public propertyUseMinifyInDebug Gets or sets value that determines if minification should be applied when running a Debug build.
Public propertyWebRootPath Gets or sets root path defined for this WebServer.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMinifyJavascriptResource Determines if Javascript file referenced by urlPath should be minified according to MinifyJavascriptExclusionExpression.
Public methodMinifyStyleSheetResource Determines if CSS file referenced by urlPath should be minified according to MinifyStyleSheetsExclusionExpression.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also