Name | Description | |
---|---|---|
AppSettingExists | Returns true if the app setting exists | |
ConnectionStringExists | Returns true if the connection string setting exists | |
ReadAppSetting | Read a setting from the appSettings section of the current app.config or web.config | |
ReadConnectionString | Read a connection string from the connectionStrings section of the current app.config or web.config | |
ReadFromCustomSection | Read a setting from a custom section | |
WriteAppSetting | Write a setting to the appSettings section. If it does not exist it will be added. If it does exist, the value will be replaced. | |
WriteConnectionString | Write a setting to the connectionStrings section. If it does not exist it will be added. If it does exist, the value will be replaced. |