How do you pull the URL for an ASP.NET web reference from a configuration file in Visual Studio 2008

Posted by Ian Robinson on Stack Overflow See other posts from Stack Overflow or by Ian Robinson
Published on 2008-08-07T19:20:27Z Indexed on 2010/04/05 5:53 UTC
Read the original article Hit count: 207

Filed under:

I have a web reference for our report server embedded in our application. The server that the reports live on could change though, and I'd like to be able to change it "on the fly" if necessary.

I know I've done this before, but can't seem to remember how. Thanks for your help.

update - I've manually driven around this for the time being. It's not a big deal to set the URL in the code, but I'd like to figure out what the "proper" way of doing this in VS 2008 is. Could anyone provide any further insights? Thanks!

© Stack Overflow or respective owner

Related posts about asmx