Dynamically switch WCF Web Service Reference URL path through config file

后端 未结 5 2070
误落风尘
误落风尘 2020-12-01 02:56

How do you dynamically switch WCF Web Service Reference URL path through config file ?

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 03:10

    sure you can do this, have a look here: How to config clients for a wcf service?

    it is absolutely normal to point to localhost in development and to change the address (url) in production in the web.config

提交回复
热议问题