I am currently implementing a web application in Microsoft Azure. My concern is how to use the staging slot together with ACS.
I want to push my application to the staging slot, verify that it is working and then do a VIP-swap to production.
The approach is pretty straight forward, except the configuration of the ACS. Since the staging slot gets a random URL during deployment the ACS configuration needs to be done afterwards. The WebRole’s web.config and Relying Party Application in the ACS must be configured with the new staging slot URL.
Vittorio Bertocchi describes in his blog post how to update the web.config without redeploying and I guess that the ACS could be updated with a script after deployment to staging.
This approach seems quite complicated and brittle; I’m looking for a simple and solid solution for my deployment process. Is there something I have missed?
Since the ACS configuration is quite simple and straight forward in a production slot I have been thinking of skipping the testing of the application in the staging slot and only use it to perform the VIP-swap to production (the application would be tested in its own “QA” Hosted Service).
What do you think about this approach? Can there be any differences between hosted services in Azure?