本文介绍了WCF基址给错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
想知道在wcf服务中设置基本地址的规则是什么.当我将默认基本地址更改为我的首选地址时,会出错并回滚到以前的正常工作.
Hi
want to know what are the rules for setting the base address in the wcf service.when iam changing the default base address to my preferred address giving error and rollback to previous one working fine .
推荐答案
You have to give base uri as base address in wcf service. The relative address will be in your endpoint.
One more thing which you have to note is you can have only one base address per binding/protocol.
这篇关于WCF基址给错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!