简体   繁体   中英

Large data array by WCF

I have wcf-service and wcf-client. Service send to client a big data array - 55000+ items for one request. Forming this array on service-side takes less then one second, but client-side recieve this array more than 5 seconds! Can I faster this? I use BasicHttpBinding on client-side, if in important. (Pagination is not good idea for me)

尝试使用messageEncoding="Mtom" ,它必须流式传输数据,或者如果WCF客户端和服务器是您的,请将其更改为net.tcp绑定,则较低级别的协议将摆脱开销数据,并且还可以流式传输数据

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM