Click or drag to resize

WebServer Class

Represents the web server engine for WebPageController instances.
Inheritance Hierarchy
SystemObject
  GSF.Web.HostingWebServer

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

The WebServer type exposes the following members.

Constructors
 NameDescription
Public methodWebServer Creates a new WebServer.
Top
Properties
 NameDescription
Public propertyStatic memberDefault Gets default configured web server instance.
Public propertyOptions Gets options in use for this WebServer.
Public propertyPagedViewModelTypes Defines associated page view model types and data hub types for Razor pages, if any.
Public propertyRazorEngineCS Gets the C# Razor engine instance used by this WebServer.
Public propertyRazorEngineVB Gets the Visual Basic Razor engine instance used by this WebServer.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the WebServer object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the WebServer object and optionally releases the managed resources.
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 methodStatic memberGetConfiguredServer Gets a shared WebServer instance created based on configured options defined in the specified settingsCategory.
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 methodRenderResponse Renders an HTTP response for a given request.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventExecutionException Exposes execution exceptions that occur in WebPageController instances.
Public eventStatusMessage Exposes status messages that get reported from WebPageController instances.
Top
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