Hi Friends,
I have created WCF and Web Api REST full web services. In this web services i am getting "One or more errors occurred.::: at System.Threading.Tasks.Task.ThrowIfExceptional" for Large data transmission EX: I have 25 columns and 25000 rows of fetch query in this scenario some times data is coming and some time "One or more errors occurred.::: at System.Threading.Tasks.Task.ThrowIfExceptional" this error is coming both of the web services.
So please can anyone suggest me on this.
Thanks in advance,
Mohan G

Piyush PansuriyaPosted Dec 29, 2014, 7:39 AM
When there is large amount of data transaction with WCF, you have to use serialization - deserialization.
Please go through below link :
http://www.codeproject.com/Articles/434665/WCF-Serialization-A-Case-Study
http://www.c-sharpcorner.com/UploadFile/db2972/wcf-serialization-part-1-day-6/
http://stackoverflow.com/questions/15392600/wcf-how-to-serialize-and-deserialize-in-json
http://www.icodefor.net/2013/08/serialization-and-deserialization-in-wcf.html