내 프로젝트에 netTCP WCF 서비스가 있습니다.WCF로 전선을 통해 최소량의 데이터 전송
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="NetTcpBinding_IIndexer" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard" listenBacklog="10"
maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
maxReceivedMessageSize="65536">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="None">
<transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
</bindings>
<client>
<endpoint address="net.tcp://mach1:9000/Indexer" binding="netTcpBinding"
bindingConfiguration="NetTcpBinding_IIndexer" contract="in.IIndexer"
name="NetTcpBinding_IIndexer" />
</client>
</system.serviceModel>
</configuration>
와이어를 통해 전송되는 데이터의 압축을 최대화하기 위해 할 수있는 일이 있습니까 : 이것에 대한의 app.config은? 내 프로젝트는 내부적이므로 속도와 처리 능력은 근본적으로 문제가되지 않습니다.
클라이언트에서 WCF 서비스로 보낸 데이터를 압축하는 데 유용한 팁과 트릭은 무엇입니까?
내장 WCF 인코더가 있지만 TCP를 사용하고 있으며 실제 압축을 지원하지는 않습니다. –
첫 번째 링크가 깨졌습니다 :(그것을 고쳐주세요 –