如何共享同一个双赢的形式客户端asp.net web应用程序文件夹? [英] How to share a folder in a asp.net web application with a win form client?

查看:124
本文介绍了如何共享同一个双赢的形式客户端asp.net web应用程序文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此asp.net web应用程序,用户可以通过Web界面上传文件到服务器。所有上传的文件都是保存在服务器端的文件夹。如果我想创建一个新的胜利的形式桌面客户端(实际上,它是一个WPF应用程序),它可以用于将文件上传到同一个服务器端的文件夹中的Web界面呢,我怎么能与赢形式的客户端共享服务器端文件夹?任何其他建议也欢迎。

In this asp.net web application, users can upload files to the server through a web interface. All the uploaded files are save in a server side folder. If I want to create a new win form desktop client (actually, its a WPF application) which can be used to upload files to that same server side folder as web interface does, how can I share that server side folder with that win form client? Any alternative suggestions are also welcome.

感谢所有提前。

推荐答案

就像回答<一个href=\"http://stackoverflow.com/questions/3360925/what-is-the-best-way-to-store-files-in-a-asp-net-wcf-web-application/3360959#3360959\">http://stackoverflow.com/questions/3360925/what-is-the-best-way-to-store-files-in-a-asp-net-wcf-web-application/3360959#3360959:


  • 使用WCF层作为一个共同点,存储服务背后的图像。正如我说,这将是一个额外的拉字节数组结束。

  • 存储图像在Web UI层和有服务(ASMX或WCF一个)将图像暴露给你的WinForms / WPF客户端。

  • 请在服务器上的WinForms / WPF客户端A股,其中Web UI的运行速度,并在图像的。当然,一定要尊重安全和黑客可能。

这篇关于如何共享同一个双赢的形式客户端asp.net web应用程序文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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