Transfer large amount of data in WCF service

前端 未结 3 1174
长发绾君心
长发绾君心 2020-12-04 11:58

I have created a web service in WCF which returns more than 54000 data-rows with 10 data in each row. I have used the wsHttpBinding for communication. The s

3条回答
  •  余生分开走
    2020-12-04 12:11

    Instead of using for loop over WCF for bulky data , Use user defined table type ( if you are using SQL) . It will reduce the time from 6 min to 15-20 sec.

提交回复
热议问题