简体   繁体   English

远程访问C#应用程序(Win)的最佳方法?

[英]Remote access to C# Application (Win) best approach?

Would it be better to make some sort of internal Webserver and do it all over HTTP or to make the app to read remote files ? 制作某种内部Web服务器并通过HTTP完成所有操作还是使该应用程序读取远程文件会更好吗? .. can't explain it better than this right now. ..现在无法解释得比这更好。

Got any good link's about this, please post :) 有任何好的链接,请发表:)

As michalczerwinski said, it's better to use some kind of network-based interface. 正如michalczerwinski所说,最好使用某种基于网络的接口。

If you don't want to use IIS, you can make self-hosted application with WCF service: http://msdn.microsoft.com/en-us/library/ms731758.aspx 如果您不想使用IIS,则可以使用WCF服务制作自托管应用程序: http : //msdn.microsoft.com/zh-cn/library/ms731758.aspx

Using remote files to stear the external application is not the best approach: it will introduce the delay and it's far from being efficient. 使用远程文件存储外部应用程序不是最好的方法:这会引入延迟,并且效率不高。 Any network-based interface would be better. 任何基于网络的接口都会更好。 I would go with Remoting or WCF to host some simple interfaces, it might be via HTTP. 我将使用Remoting或WCF托管一些简单的接口,可能是通过HTTP。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM