Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any libraries or samples for non-duplex WCF chunking?

I'm looking for a way of implementing a file transfer service over HTTPS which uses chunking to cope with intermittent connectivity loss and to reduce the large timeouts required by using Streaming. Because the client may be behind firewalls, the Chunking Channel sample on MSDN isn't suitable.

There is an old discussion about this on the Microsoft Forums but not a complete answer, or at least not one that I have the know-how to implement.

like image 732
Tom Robinson Avatar asked Nov 15 '22 08:11

Tom Robinson


1 Answers

There is a sample of a resumable download service here: http://cid-8d29fb569d8d732f.skydrive.live.com/self.aspx/.Public/WCF/Resume%5E_Download%5E_WCF%5E_1%20%5E52%5E6.zip

This sample uses a custom WCF binding. It looks like it works by getting a segment of the file at a time, with the possibility to get any remaining segments when the system is back on line.

like image 132
Shiraz Bhaiji Avatar answered Dec 15 '22 00:12

Shiraz Bhaiji