我们可以在配置文件中有两个名称相同但地址不同的端点吗
例如,下面的代码是否正确?
<*endpoint* name="**WSHttpBinding_ICalcService**"
address="**net.pipe://myService/Request.svc/Switch/MyDataService**"
binding="**wsHttpBinding**"
bindingConfiguration="**WSHttpBinding_ICalcService**"
contract="**ServiceReference1.ICalcService**">
<*endpoint* name="**WSHttpBinding_ICalcService**"
address="**net.pipe://myService/Response.svc/Switch/MyDataService**"
binding="**wsHttpBinding**"
bindingConfiguration="**WSHttpBinding_ICalcService**"
contract="**ServiceReference1.ICalcService**">
上面的配置是一样的,只是地址不同。可能吗?似乎这是不可能的。但想确认?