Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a website that uses a WCF. The thing I want to do is that whenever the WebService URL is changed, i must be able to change in My project without having to stop this. So i thought of setting a key in webconfig of my project and to set that key value as URI in Reference.cs. I changed the state of WebService Reference in my project as dynamic. But the problem is that whenever I update the webservice, the uri gets changed to the text shown below :

global::Drd.Properties.Settings.Default.CoreBusiness_UbossProvisioning_ProvisioningServices;
Posted

1 solution

 
Share this answer
 
Comments
Arjun Menon U.K 3-Oct-13 8:03am    
I know that i can specify the url where the object is called. But sadly my webservice has more than 1000 functions and its quite not practical now to put urls there .. Is there any other way?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900