How to transfer large data from wcf service?
To transfer large data from wcf service, we need to change some configuration settings like:
MaxReceivedMessageSize
Transfer Mode
Max Depth (in ReaderQuotas)
MaxArrayLength
Above are necessary settings to transfer large data form WCF, apart from these settings, to increase performance you can change message encoding to "MTOM".
Complete binding configuration is :
Note : you need these settings in both Service and application config file (web.config and app.config).
No comments:
Post a Comment