Setting variables in web config for web service consumption

Posted by Evan on Stack Overflow See other posts from Stack Overflow or by Evan
Published on 2010-04-06T16:04:09Z Indexed on 2010/04/06 16:13 UTC
Read the original article Hit count: 315

Filed under:
|

I did a couple google searches about this and am not finding anything, so I thought I'd ask here.

I'm working on our internal CMS and I noticed that we're getting live data back when doing debugging because of our web services instead of the dev data that I wanted. It doesn't do this on our dev CMS website, but we're trying to do all our development on localhost. Is there any way to set up an environment variable in our web config for the URL so that the CMS points to the dev database instead of live database that is referenced in the wsdl files?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-services