Download this episode
In this screencast, I'll show some strategies when working with Azure webroles and handling settings -- particularly connection strings -- in both the ServiceConfiguration and web.config files. Traditionally, we've always used the web.config for all of our website settings. While we can do that in the cloud, all files (including the web.config) are read-only as part of the deployment; in order to change them, we'd need to redeploy our application. The goal, then, is to migrate key settings to the ServiceConfiguration file. For some settings -- particularly SQL Membership Provider connection strings -- this can be challenging but not impossible!
Available formats for this video:
Actual format may change based on video formats available and browser capability.