日期:2014-05-17 浏览次数:20943 次
<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
<behaviors>
<serviceBehaviors>
<behavior>
<!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false -->
<serviceMetadata httpGetEnabled="true"/>
<!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service name="AVA.Meeting.IService.IMeetingService">
<endpoint address="" binding="netTcpBinding" contract="AVA.Meeting.Server.MeetingService">
</endpoint>
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:4502/AVA.Meeting.Server/MeetingService.svc" />
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
<services>
<service name="AVA.Meeting.Server.MeetingService">
<endpoint address="" binding="netTcpBinding" contract="AVA.Meeting.IService.IMeetingService">
</endpoint>
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:4502/