Azure Miniseries #3: ServiceConfig vs web.config

  • Posted: Feb 22, 2010 at 8:11 AM
  • By: Brian
  • Avg Rating: 0

  • 3,934 Views

Download

Right click “Save as…”

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Note: These selections will fall back to the next best format depending upon browser capability.

Close
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!

Tags:

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.