从WCF服务中选择大数据 [英] Select Large Data From WCF Services
本文介绍了从WCF服务中选择大数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我如何提高Wcf服务的性能..
如果我从sql数据库检索1000条或更多的记录到Wcf服务,需要10分钟的时间来加载数据......我怎么能解决这个问题..?
我在web.config中使用了以下设置
Hi friends,
How can i improve Wcf services performance..
if i retrieve 1000 or more records from sql database to Wcf services it's take 10 mins time to load the data...how can i solve this issue..?
I used below settings in my web.config
<basicHttpBinding>
<binding name="basicHttpBindingSettings" closeTimeout="10:00:00"
openTimeout="10:00:00" receiveTimeout="10:00:00" sendTimeout="10:00:00"
bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true" messageEncoding="Text">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>
请帮帮我
提前谢谢
Ram
Please help me
thanks in advance
Ram
推荐答案
可能是以下链接将为您提供帮助。
http: //stackoverflow.com/questions/264366/performance-tuning-wcf-service [ ^ ]
这篇关于从WCF服务中选择大数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文