Silverlight Streaming

I have a Silverlight application that needs to upload large files to a server. I looked at downloading using both WebClient and HttpWebRequest, however, I don’t see an obvious way to transfer the download with any of these options. Size files by loading all contents into memory before uplaoding is not reasonable. Is this possible in Silverlight?

+5
source share
2 answers

You can use the "chunking" approach. The Silverlight uploader on Codeplex uses this method:

http://www.codeplex.com/SilverlightFileUpld

(, 10k, 20k, 100k ..), HTTP-. . -, -, , - .

+1

, WebClient Silverlight . , !

, , , , , HttpWebRequest.

BeginGetRequestStream Stream , Stream . , Silverlight , . , , , , , SL , , .

HTTP- .

+1

All Articles