Silverlight 4中:上传文件到服务器 [英] Silverlight 4 : Uploading file to server

查看:148
本文介绍了Silverlight 4中:上传文件到服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是一个简单的一种:

Here is an easy one:

我需要一个进度条稳定的简单文件上传,我发现很多来自搜索那些花哨的。不过,我需要社会各界的意见上哪些一起去?教程链接将AP preciated。

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:
我有一个的FileStream 我想上传到服务器,下面是一个简单的服务器服务器URL:

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;

我在希望中加入悬赏得到的工作解决方案,我可以从我的SL应用程序中使用。所有MyApplication在IIS托管。

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 for the responses guys and congrats to Vinay for getting the Bounty.

我的答案其实从$ C $的CProject 这个链接来>,如果有人正在寻找类似的解决方案这个问题那么我强烈推荐它。我没有使用任何外部DLL,并能很容易地修改链接的解决方案。

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.

谢谢,

巫毒

这篇关于Silverlight 4中:上传文件到服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆