I have an azure cloud service project which comprises of one worker role and one web role. I need to have both staging and live deployments but I need them to have different connection strings because the worker role generates lots of data which is reported by the web application and I would not want to have test data in production.
What's the best way to configure this so that I can quickly swap or promote from staging to live and have the connection strings just update without having to republish from visual studio using a different configuration.
As far as I know there is no automated tooling for this. When you swap, your configuration swaps as well. From what I understand you don't want to swap the configs but just the application.
You might need to build your own swaping tool which would connect to Management APIs and to the swap the way you want.