Steps to reproduce
- Create an alloy sample project in visual studio, then deploy it to azure website.
- Modify the connection string in web.config to point to one database, then in Azure Management Portal, define the connection string [EpiserverDB] to point to another database.
- Browse the azure site from browser, and notice that EPiServer CMS still connect to the database defined in web.config instead of the database defined in Management Portal.
Expected: EPiServer CMS connect to the database defined in Management Portal
Actual: EPiServer CMS connect to the database in web.config
NOTE: This bug could not be fixed without making a breaking change, so instead an app setting below is required to enable the fix for this bug.
<add key="episerver:ReadOnlyConfigurationAPI" value="true" />