# <service name="WcfServiceLib.Service1">
# <host>
# <baseAddresses>
# <add baseAddress = "http://localhost:9999/WcfStudy3/Service1" />
# <add baseAddress = "net.tcp://localhost:8888/WcfStudy3/Service1" />
# </baseAddresses>
[color=#FF0000]问题:
这里是两种绑定方法,怎么会有三种“数据端点”“ <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> ”从哪里来?
[/color]
# </host>
# <endpoint address ="serviceEN_1" binding="wsHttpBinding" contract="WcfServiceLib.IService" />
# <endpoint address ="serviceEN_2" binding="mexTcpBinding" contract="WcfServiceLib.IService" />
# <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
# </service>
# <host>
# <baseAddresses>
# <add baseAddress = "http://localhost:9999/WcfStudy3/Service1" />
# <add baseAddress = "net.tcp://localhost:8888/WcfStudy3/Service1" />
# </baseAddresses>
[color=#FF0000]问题:
这里是两种绑定方法,怎么会有三种“数据端点”“ <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> ”从哪里来?
[/color]
# </host>
# <endpoint address ="serviceEN_1" binding="wsHttpBinding" contract="WcfServiceLib.IService" />
# <endpoint address ="serviceEN_2" binding="mexTcpBinding" contract="WcfServiceLib.IService" />
# <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
# </service>
pipe对应 net.pipe:// 的