Class WebSettings
Facilitates fast access to important web-related config settings
Inheritance
System.Object
WebSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Web
Assembly: Azos.Web.dll
Syntax
public static class WebSettings
Fields
CONFIG_DEFAULT_TIMEOUT_MS_ATTR
Declaration
public const string CONFIG_DEFAULT_TIMEOUT_MS_ATTR = "default-timeout-ms"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_LOGTYPE_ATTR
Declaration
public const string CONFIG_LOGTYPE_ATTR = "log-type"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_SERVICEPOINTMANAGER_SECTION
Declaration
public const string CONFIG_SERVICEPOINTMANAGER_SECTION = "service-point-manager"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_WEBSETTINGS_SECTION
Declaration
public const string CONFIG_WEBSETTINGS_SECTION = "web-settings"
Field Value
Type | Description |
---|---|
System.String |
Methods
GetServicePointManagerConfigurator(IApplication)
Ensures that ServicePointManager class gets configured via the ServicePointManagerConfigurator instance. ServicePointManager is .NET-provided class with static methods which configure global Web call/service point properties such as timeouts and keep-alive.
Declaration
public static ServicePointManagerConfigurator GetServicePointManagerConfigurator(this IApplication app)
Parameters
Type | Name | Description |
---|---|---|
IApplication | app |
Returns
Type | Description |
---|---|
ServicePointManagerConfigurator |
RequireInitilizedServicePointManager(IApplication)
Ensures that ServicePointManager class gets configured via the ServicePointManagerConfigurator instance. ServicePointManager is .NET-provided class with static methods which configure global Web call/service point properties such as timeouts and keep-alive.
Declaration
public static void RequireInitilizedServicePointManager(this IApplication app)
Parameters
Type | Name | Description |
---|---|---|
IApplication | app |