<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="behaviors">
<serviceMetadata httpGetEnabled="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="Add" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="01:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> </binding>
</wsHttpBinding>
</bindings>
<services>
<service name="LC.WCFService.Service.CalculatorService" behaviorConfiguration="behaviors">
<endpoint contract="LC.WCFService.Contract.ICalculator" binding="wsHttpBinding" address="" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8080/LC.WCFService/CalculatorService"/>
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="behaviors">
<serviceMetadata httpGetEnabled="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="Add" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="01:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> </binding>
</wsHttpBinding>
</bindings>
<services>
<service name="LC.WCFService.Service.CalculatorService" behaviorConfiguration="behaviors">
<endpoint contract="LC.WCFService.Contract.ICalculator" binding="wsHttpBinding" address="" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8080/LC.WCFService/CalculatorService"/>
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货