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 http://uat.mydomain.com and service is http://uat.mydomain.com:6000/MyWebSvc.asmx

Production http://portal.mydomain.com and service is http://portal.mydomain.com:6000/MyWebSvc.asmx

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

1 Answer 1


The Application Settings Manager from Microsoft's patterns and practices group. http://msdn.microsoft.com/en-us/library/ff798488.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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