有哪些方法本地远程过程调用? [英] What methods exist for local remote procedure call?

查看:122
本文介绍了有哪些方法本地远程过程调用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的两个独立的C#应用​​程序,我试图确定什么是创建一个远程过程调用从一个应用程序到另一个的最佳途径。 web服务是在此情况下,必要的,因为应用程序将始终是相同的机(Windows操作系统)上运行。什么类型的RPC的是C#和.NET,我可以使用可用?

I am working on two separate C# applications, and I'm trying to determine what is the best way to create a remote procedure call from one app to the other. Webservices are not necessary in this case because the applications will always run on the same machine (Windows OS). What types of RPC are available in C# and .net that I can use?

推荐答案

我会建议WCF用的 NetNamedPipeBinding 进程间通信。这里有一个例如

I would recommend WCF with NetNamedPipeBinding for interprocess communication. Here's an example.

还有远程其中已经出现自.NET 1.0,但越来越有利于WCF的已经过时了。

There's also Remoting which has been around since .NET 1.0 but becoming obsolete in favor of WCF.

这篇关于有哪些方法本地远程过程调用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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