Is there a way to use different ConnectionString, based on Production or Staging environment ? How ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would strongly recommend that first, you don’t treat the “staging lot” like a traditional staging environment. It should instead be considered a temporary area to “smoke test” a deployment before it goes live. If you have need for a persistent staging environment, instead use a different hosted service to fullfill that need.
When you do this, it then makes it a fairly simple matter to maintain multiple cloud service configuration files, one for each environment.