简体   繁体   中英

How to do streaming and chunking for wsHttpBinding

I need to transfer large files (3-4 Gb) from Client to Server using WCF but binding which is already in place is wsHttpBidning. I have to use thing binding. Using custom binding is also out of option. Need some idea on how can I achieve it just by adding one more operation on the service side and calling that method from the client side?

buffering 3-4 GB data has potential risk of bringing down server, wsHttp doesnot support streaming so better option for streaming are to use either

1> HTTP binding in streaming mode with MTOM encoding 
2> TCP binding in streaming mode.

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