0
votes

I have deployed my asp.net web site using cloud service. I have deployed it by publishing from Visual studio.

problem is every time if i have to make changes to web.config, i have to redeploy from visual studio.

Is there anyway we can directly modify from windows azure? I don't want every time developer should involve in this.

1

1 Answers

1
votes

Instead of defining your settings in web.config file, you should define them in Service Configuration File (*.cscfg). Then you should be able to change the values from Azure Portal and other means without redeploying your code.

At any cost, stay away from making web.config changes in the deployed code (using RDP or some other means). If for some reason Azure decides to deploy your code in other VM, your changes will be lost. See this thread for more details: Azure Webrole loads old website version after restart.