Silverlight 4 : Uploading file to server

2019-06-17 12:05发布

Here is an easy one:

I need a stable simple file uploader with a progress bar, I have found lots of fancy ones from the search. However, I need the community opinion on which ones to go with? Tutorial links would be appreciated.

BOUNTY: I have a FileStream which I would like to upload to a server, below is a sample server server URL:

string uploadUri;
string SavedFileName = "testXRay.jpg"
uploadUri = @"http://localhost/MyApplication/Upload/Images/" + SavedFileName;

I am adding a bounty in hope to get a working solution which I could use from my SL application. MyApplication is hosted in IIS.

If any other information is needed please ask in comments.

Thanks!

3条回答
手持菜刀,她持情操
3楼-- · 2019-06-17 12:33

Thanks for the responses guys and congrats to Vinay for getting the Bounty.

My answer actually came from this link on codeproject, if anyone is looking for a similar solution to this question then I would highly recommend it. I didn't have to use any external dlls and was able to easily modify the solution in the link.

I will try and upload my version sometimes in the future or when I get a chance.

Thanks,

Voodoo

查看更多
女痞
4楼-- · 2019-06-17 12:44

checkout the Fileupload controls on codeplex

  1. SL file Upload
  2. Sl uploader
查看更多
登录 后发表回答