开发者

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

开发者 https://www.devze.com 2023-01-11 11:26 出处:网络
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.

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 i开发者_StackOverflowsn'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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消