Advertisement

Silverlight multi-file upload controls and patterns

One area where Silverlight can plat an interesting role for your web applications is wherever file uploading to your server needs to be done.  This may sound odd to think of it that way, but if you’ve ever done file upload in web apps (for larger sizes, chunking, etc.) sometimes it is no fun and involves a lot of Javascript.  There is a video demonstrating on how you can do file upload with Silverlight 2 and also helps demonstrate the OpenFileDialog API within the runtime.

I remember seeing a multi-file uploader that Jose Farado had started back in Silverlight 1.1 days.  It followed the UI inspiration from the Flickr picture uploader and I really liked it.  Jose has been real busy since then and hasn’t had much time to update his older 1.1 samples to Silverlight 2, but a few others have started to emerge.

Over at the Silverlight community gallery, you can find a bunch of user-submitted content that includes full solutions, samples, helpful tips, etc.  Right now you can find pointers to 2 solutions implementing multi-file uploading using Silverlight as a UI and controller in the process.

One is from Michiel Post and the other is from InetSolution, Inc.  Both of them provide similar functionality.  (NOTE: none provide full source code at the moment or have alluded that they will.)  One thing that the team at InetSolution did after receiving some inquiries about their work was to write a bit about it in an ‘under the hood’ post about their effort so far.

UPDATE: Michiel Post has now updated the control and provided source on Codeplex.

I’d love to see either of these adapt the UI that Jose had implemented…but in the meantime, check them out!


This work is licensed under a Creative Commons Attribution By license.

  1. 9/29/2008 9:02 AM | # re: Silverlight multi-file upload controls and patterns
    Hi Tim,

    you can check the Silverlight multiple file Upload control from Telerik:
    demos.telerik.com/.../MultipleFiles

    It is very similar as UI to the Flickr control.

    Regards,
    Valentin
  2. 9/29/2008 10:22 AM | # re: Silverlight multi-file upload controls and patterns
    And the first Silverlight 2 control to be commercially released was Xceed Upload for Silverlight. You can try the demo if you have Silverlight 2 installed, here:

    http://xceed.com/Upload_Silverlight_Demo.html

    Odi
  3. 9/29/2008 8:45 PM | # re: Silverlight multi-file upload controls and patterns
    Hi, we have the most complete suite of controls for silverlight, and there is obviously an uploader control in the list ;) www.componentone.com/.../UploaderSilverlight

    It suppoprts WebServices and multipart/post methods, multiple files, split of files into smaller parts, etc, etc.

    Regards,
    LEo
  4. 9/30/2008 8:08 AM | # re: Silverlight multi-file upload controls and patterns
    We need Multiple File Uploader open source project. The commercial quality code for the complex solution like one described in ‘under the hood’ post would teach us more than dozen of these "How to Create Animated Button" videos.

    There is a very good example of multiple file uploaders at www.thejoyofcode.com/...loader_for_SL2_Beta_2.aspx
    Tthe source code is posted for download.
  5. 10/14/2008 2:39 PM | # re: Silverlight multi-file upload controls and patterns
  6. 10/16/2008 6:02 AM | # re: Silverlight multi-file upload controls and patterns
    the first video link is broken!
  7. 10/16/2008 6:05 AM | # re: Silverlight multi-file upload controls and patterns
    the first video link is broken!
  8. 10/16/2008 6:15 AM | # re: Silverlight multi-file upload controls and patterns
    the first video link is broken!
  9. 4/28/2009 5:48 PM | # re: Silverlight multi-file upload controls and patterns
    We have created an open-source silverlight file uploader project on codeplex with solid examples and documentation -- it's a bit more stable than the one mentioned in the original article:

    http://silverlightuploader.codeplex.com/
  10. 2/9/2010 12:08 AM | # re: Silverlight multi-file upload controls and patterns
    A new Upload and Download control suite is available on codeplex (interlink.codeplex.com).

 
Please add 2 and 4 and type the answer here:
First time here? You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! (hide this)