DataTable をクライアントに送信する (返す) WCF Web サービスがあります。現在、データテーブルには 47,000 のレコードがあります。最初の呼び出しでは、データを取得するのに時間がかかりすぎます。
シリアル化アセンブリの生成を「オン」に設定し、構成ファイルでuseDefaultWebProxy ="false"を試しましたが、問題を解決できませんでした。
ここに私のapp.configがあります
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_I123Services" closeTimeout="00:30:00"
openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="500000000"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="false"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="2000000"
maxBytesPerRead="2000000" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:30:00"
enabled="false" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="https://123.com/123services.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_I123Services" contract="123Services.I123Services"
name="WSHttpBinding_I123Services" />
</client>
</system.serviceModel>
</configuration>
誰でも私がこれに対する解決策を見つけるのを手伝ってくれますか? ありがとうございました。