EEE Web Service Config
Presently the web.config file for the EEE web service contains the connection string used to connect to the EEE database and any application-specific settings. For this reason, this file is usually left unchanged after initial install.
However as the web service is serviced and updated, changes are required to the web.config file which cannot be easily deployed to an environment that already has the aforementioned environment-specific settings within.
In order to better address this issue going forward, application settings and connection string will be required to be saved to separate individual files. The web.config file will only have a reference to those files which means it can be easily updated/replaced independently during an update.
The required structure is 3 x files:
- Web.config
- Connections.config
- Settings.config
Web.config
Must contain references to the new files:
<?xml version="1.0"?>
<configuration>
…
<appSettings file="Settings.config" />
<connectionStrings file="Connections.config">
…
</configuration>
In a future version of EEE, the updates to the EEE web service will start overwriting the web.config file with the latest version released with the update. The EEE Service Release Installer (EEEPatch) will warn users when the web.config file will be replaced, but separate config files were not found for connection str