开发者

Upload large files in Silverlight

Is it possible to upload large files in Silverlight w/o resorting to the "chunked upload" or load开发者_Python百科ing all of the file data into memmory?

I read something about uploading using Silverlight streaming API, does that work and will it truly stream the data w/o preloading all of it in mem upfront first?


Silverlight doesn't implement any kind of "stream upload". Before post request goes to the server all data you want to send should be writen into the stream. So if you need to send truly large file I would say multiple posts with "transfer-encoding: chunked" (i.e chunked upload) is the way to go.


Chunking might help you speed up your uploads as well: Parallel upload to Azure via Silverlight Control

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜