Roger Johansson
Roger Johansson

Reputation: 23214

Upload large files in Silverlight

Is it possible to upload large files in Silverlight w/o resorting to the "chunked upload" or loading 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?

Upvotes: 1

Views: 1093

Answers (2)

Rahul
Rahul

Reputation: 410

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

Upvotes: 0

Denis
Denis

Reputation: 4115

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.

Upvotes: 4

Related Questions