Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preserve Azure configuration settings on publish?

Tags:

azure

When I use Windows Azure configuration settings, each time I publish an update to my cloud service, the settings are overwritten with the default from my project. This seems rather pointless to me, since if I want to override the default settings in the cloud, it makes sense that I want to preserve those overrides even when publishing an update to the app's code. Is there a way to preserve the settings when publishing from Visual Studio?

like image 217
Chris Avatar asked Feb 13 '13 19:02

Chris


1 Answers

NO - A redeploy of your service will override all the settings to whatever is set in the config file (.cscfg) that you provide. To preserve the settings you have to update both, the configuration file in the cloud and the configuration file on your local disk.

like image 72
Guy Avatar answered Nov 15 '22 05:11

Guy