Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

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.