I have an ASP.Net project, in which I added a web reference, for example
http://Sandbox/service.asmx
after I pass the testing, I want to change the web service address to
http://Production/service/asmx, which has the exactly same interface as the
sandbox.
My question is how to dynamically configure the ASP.Net application point to
the right web service address after I deploy the code from test to
production enviroment without recompile the code?
Anyone can point me to the right direction how to solve this issue? Thanks
John - 10 Dec 2007 23:28 GMT
You can change the value in the web.config file or set the Url propeerty on
the proxy class.
> I have an ASP.Net project, in which I added a web reference, for example
> http://Sandbox/service.asmx
[quoted text clipped - 6 lines]
> production enviroment without recompile the code?
> Anyone can point me to the right direction how to solve this issue? Thanks