SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have developed a custom ASMX webservice for integration with Oracle EBS database and we have UAT and Production environments. Ive have deployed the webservice on both places and working on UAT to test the visual webparts. Once the webpart is tested and approved i will move them to production.

My URLS for both environment.

UAT and service is

Production and service is

How can I make my code work on both places without changing the service URLS inside the code for uat to production and vise me according to the best practice.

share|improve this question

The Application Settings Manager from Microsoft's patterns and practices group.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.