I have a scenario that I need to implement. Namely, my server needs to implement WCF that would accept large files (500MB - 1GB) and support resuming in case the connection drops for any reason. I was thinking of using WCF streaming for this, but I was wondering if resuming is somehow supported out of the box or do I need to implement custom handling for this. What is the best course of action for in my case? Links to examples would be appreciated.
Asked
Active
Viewed 1,881 times
5
-
Hi, i got exactly the same task... How did it turn out for you? – David Mar 03 '12 at 09:11
1 Answers
6
Upload and download methods should accept a parameter that controls the position of download/upload.
I am not sure this is implemented/supported out of the box. The WCF service must have a compatible client for this kind of approach.
Check this out for complete code.
http://www.abhisheksur.com/2010/09/progress-streamed-file-download-and.html
Other links you might find useful:
Chunking Channel
Introduction to Reliable Messaging with the Windows Communication Foundation

A G
- 21,087
- 11
- 87
- 112
-
1This has been very helpful, exactly what I was looking for. Thank you. – Tomislav Markovski Feb 21 '11 at 12:02