logo

Applying changes in settings.config file without restarting server

Information Title
The information in this article is only relevant for the version 3.13.16 and higher. For versions below 3.13.16, applying the changes in the settings.config file requires restarting the ELMA server.

When you make changes to the settings.config file located in the folder ..\<Shared folder with the ELMA system files>\Web, the system settings will be applied without restarting the server.

To apply the new settings, you must use the method public static T GetSetting<T>(string setting, T defaultValue = default(T)), declared in the SR class.

Using this method allows you to optimize the mechanism for reading settings changes from the settings.config file.