65 lines
3.1 KiB
Plaintext
65 lines
3.1 KiB
Plaintext
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<configuration>
|
||
|
|
<system.serviceModel>
|
||
|
|
<!--
|
||
|
|
<bindings>
|
||
|
|
<wsDualHttpBinding>
|
||
|
|
<binding name="WSDualHttpBinding_IServices" closeTimeout="00:01:00"
|
||
|
|
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
|
||
|
|
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
|
||
|
|
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
|
||
|
|
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">
|
||
|
|
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
|
||
|
|
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
||
|
|
<reliableSession ordered="true" inactivityTimeout="00:10:00" />
|
||
|
|
<security mode="None">
|
||
|
|
<message clientCredentialType="Windows" negotiateServiceCredential="true" />
|
||
|
|
</security>
|
||
|
|
</binding>
|
||
|
|
</wsDualHttpBinding>
|
||
|
|
</bindings>
|
||
|
|
<client>
|
||
|
|
<endpoint address="http://127.0.0.1:2000/" binding="wsDualHttpBinding"
|
||
|
|
bindingConfiguration="WSDualHttpBinding_IServices" contract="ServiceReference1.IServices"
|
||
|
|
name="WSDualHttpBinding_IServices" />
|
||
|
|
</client>
|
||
|
|
-->
|
||
|
|
<behaviors>
|
||
|
|
<endpointBehaviors>
|
||
|
|
<behavior name="NewBehavior">
|
||
|
|
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
|
||
|
|
|
||
|
|
</behavior>
|
||
|
|
</endpointBehaviors>
|
||
|
|
</behaviors>
|
||
|
|
<bindings>
|
||
|
|
|
||
|
|
<!-- wcf协议 -->
|
||
|
|
<netTcpBinding>
|
||
|
|
<binding name="netTcpBinding_Mybinding" sendTimeout="00:00:02" receiveTimeout="00:00:02" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
|
||
|
|
<reliableSession enabled="true" />
|
||
|
|
<security mode="None" />
|
||
|
|
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
|
||
|
|
</binding>
|
||
|
|
</netTcpBinding>
|
||
|
|
</bindings>
|
||
|
|
|
||
|
|
<client>
|
||
|
|
<endpoint address="net.tcp://127.0.0.1:50001/Services" behaviorConfiguration="NewBehavior" binding="netTcpBinding" bindingConfiguration="netTcpBinding_Mybinding" contract="ICService.IPushMessage" name="services" />
|
||
|
|
</client>
|
||
|
|
</system.serviceModel>
|
||
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /></startup>
|
||
|
|
<runtime>
|
||
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||
|
|
<dependentAssembly>
|
||
|
|
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||
|
|
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
|
||
|
|
</dependentAssembly>
|
||
|
|
<dependentAssembly>
|
||
|
|
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||
|
|
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
|
||
|
|
</dependentAssembly>
|
||
|
|
</assemblyBinding>
|
||
|
|
</runtime>
|
||
|
|
</configuration>
|