2013-09-24 61 views
0

我正在开发一个asp.net应用程序,并且我正在使用一个WCF服务应用程序从此应用程序中的数据库中获取数据。客户端应用程序的webconfig配置是这样的。在wcf服务应用程序后,asp.net应用程序工作非常慢

<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应用程序非常快,但是现在它的加载速度非常慢。 所以我想知道它背后的原因,我怎样才能摆脱这个问题? 如何提高我的应用程序的性能?

+0

究竟变得慢了?页面加载缓慢或什么?你有没有跑分析器? –

+0

正在使用此服务的应用程序。和页面加载。 –

回答