The Config type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Config | DotNetNuke.Common.Utilities.Config |
Methods
| Name | Description | |
|---|---|---|
| AddAppSetting(XmlDocument, String, String) |
Adds a new AppSetting to Web.Config. If the key already exists, it will be updated with the new value
| |
| AddAppSetting(XmlDocument, String, String, Boolean) |
Adds a new AppSetting to Web.Config. The update parameter allows you to define if,
when the key already exists, this need to be updated or not
| |
| AddCodeSubDirectory | ||
| AddFCNMode | ||
| BackupConfig | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAuthCookieTimeout | ||
| GetConnectionString()()()() |
Gets the default connection String as specified in the provider.
| |
| GetConnectionString(String) |
Gets the specified connection String
| |
| GetCustomErrorMode | ||
| GetDataBaseOwner |
Gets the specified database owner
| |
| GetDecryptionkey |
Returns the decryptionkey from webconfig machinekey
| |
| GetDefaultProvider | ||
| GetFcnMode |
Returns the fcnMode from webconfig httpRuntime
| |
| GetFriendlyUrlProvider | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMaxUploadSize |
Returns the maximum file size allowed to be uploaded to the application in bytes
| |
| GetObjectQualifer |
Gets the specified object qualifier
| |
| GetPathToFile(Config..::..ConfigFileType) |
Gets the path for the specificed Config file
| |
| GetPathToFile(Config..::..ConfigFileType, Boolean) |
Gets the path for the specificed Config file
| |
| GetPersistentCookieTimeout |
Get's optional persistent cookie timeout value from web.config
| |
| GetProvider | ||
| GetProviderPath |
Gets the specified provider path
| |
| GetRequestFilterSize |
Returns the maximum file size allowed to be uploaded based on the request filter limit
| |
| GetSection | ||
| GetSetting | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUpgradeConnectionString |
Gets the specified upgrade connection string
| |
| IsNet45OrNewer | ||
| Load()()()() | ||
| Load(String) | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveCodeSubDirectory | ||
| Save(XmlDocument) | ||
| Save(XmlDocument, String) | ||
| SetMaxUploadSize |
Sets the maximum file size allowed to be uploaded to the application in bytes
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Touch | ||
| UpdateConnectionString | ||
| UpdateDataProvider | ||
| UpdateInstallVersion |
UpdateInstallVersion, but only if the setting does not already exist
| |
| UpdateMachineKey()()()() | ||
| UpdateMachineKey(XmlDocument) | ||
| UpdateUpgradeConnectionString |
Updates the specified upgrade connection string
| |
| UpdateValidationKey()()()() | ||
| UpdateValidationKey(XmlDocument) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |