Class WebSettings
Facilitates fast access to important web-related config settings that update their values when underlying config changes
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()
Assembly: NFX.Web.dll
Syntax
public class WebSettings : IConfigSettings
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_SESSION_TIMEOUT_MS_ATTR
Declaration
public const string CONFIG_SESSION_TIMEOUT_MS_ATTR = "timeout-ms"
Field Value
Type |
Description |
System.String |
|
CONFIG_SOCIAL_PROVIDER_SECTION
Declaration
public const string CONFIG_SOCIAL_PROVIDER_SECTION = "provider"
Field Value
Type |
Description |
System.String |
|
CONFIG_SOCIAL_SECTION
Declaration
public const string CONFIG_SOCIAL_SECTION = "social"
Field Value
Type |
Description |
System.String |
|
CONFIG_TAX_CALCULATOR_SECTION
Declaration
public const string CONFIG_TAX_CALCULATOR_SECTION = "calculator"
Field Value
Type |
Description |
System.String |
|
CONFIG_TAX_SECTION
Declaration
public const string CONFIG_TAX_SECTION = "tax"
Field Value
Type |
Description |
System.String |
|
CONFIG_WEBDAV_SECTION
Declaration
public const string CONFIG_WEBDAV_SECTION = "web-dav"
Field Value
Type |
Description |
System.String |
|
CONFIG_WEBSETTINGS_SECTION
Declaration
public const string CONFIG_WEBSETTINGS_SECTION = "web-settings"
Field Value
Type |
Description |
System.String |
|
DEFAULT_SESSION_TIMEOUT_MS
Declaration
public const int DEFAULT_SESSION_TIMEOUT_MS = 300000
Field Value
Type |
Description |
System.Int32 |
|
MIN_SESSION_TIMEOUT_MS
Declaration
public const int MIN_SESSION_TIMEOUT_MS = 10000
Field Value
Type |
Description |
System.Int32 |
|
WEBDAV_DEFAULT_TIMEOUT_MS_DEFAULT
Declaration
public const int WEBDAV_DEFAULT_TIMEOUT_MS_DEFAULT = 30000
Field Value
Type |
Description |
System.Int32 |
|
Properties
ServicePointManager
Provides settings related to Http traffic handling
Declaration
public static ServicePointManagerConfigurator ServicePointManager { get; }
Property Value
SocialNetworks
Social network providers currently present in the system
Declaration
public static IRegistry<SocialNetwork> SocialNetworks { get; }
Property Value
WebDavDefaultTimeoutMs
Sets default timeout for WebDAV requests
0 means indefinite
Declaration
public static int WebDavDefaultTimeoutMs { get; }
Property Value
Type |
Description |
System.Int32 |
|
WebDavLogType
When set turns on WebDAV logging
Declaration
public static MessageType? WebDavLogType { get; }
Property Value
Methods
ChangeConfig(IConfigSectionNode)
Declaration
public static void ChangeConfig(IConfigSectionNode atNode)
Parameters
ConfigChanged(IConfigSectionNode)
Declaration
public void ConfigChanged(IConfigSectionNode atNode)
Parameters
RequireInitializedSettings()
Called by framework components that rely on initialized web settings.
If the settings have been initialized that this method just does a lock-free check and returns
Declaration
public static void RequireInitializedSettings()
Implements
Extension Methods