我正在开发一个 asp.net 应用程序,我正在使用一个 WCF 服务应用程序从该应用程序的数据库中获取数据。客户端应用程序的 webconfig 配置是这样的。
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IServicePaymentControllerUIClient"
closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00"
sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false"
hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8"
useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:63796/ServicePaymentControllerUIClient.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IServicePaymentControllerUIClient"
contract="ServiceReferencePaymentControllerUI.IServicePaymentControllerUIClient"
name="WSHttpBinding_IServicePaymentControllerUIClient">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
在使用 WCF 服务之前,我的 asp.net 应用程序非常快,但现在它的加载速度非常慢。所以我想知道它背后的原因以及如何摆脱这个问题?如何提高我的应用程序的性能?