什么是远程方法调用.NET标准? [英] What is the .NET standard for remote method invocation?

查看:129
本文介绍了什么是远程方法调用.NET标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

方案:

  • A 通用组装定义域的对象类型(由客户端和服务器组件引用的程序集)
  • A 服务器组件定义类和返回无论是原始类型或在公共程序集中定义的类型的方法
  • 客户端程序集需要调用服务器定义,当然方法和,取得他们的结果在适当的类型。
  • A common assembly defines domain object types (an assembly that is referenced by both client and server assemblies)
  • A server assembly defines classes and methods that returns either primitive types or the types defined in the common assembly
  • An client assembly needs to call the server defined methods and, of course, get their results in the appropriate types.

什么是解决这一问题的.NET 3.5标准的做法?你能不能说明任何资源在网络上帮我度过?

What's the .NET 3.5 standard approach for solving this problem? Could you indicate any resource on the web to help me through?

推荐答案

这可能是矫枉过正,但它的远程方法我最熟悉的,而且似乎是当前的.NET平台的标准:Windows通讯框架(WCF )。

It might be overkill, but it's the remoting method I'm most familiar with, and seems to be the current .NET platform standard: Windows Communication Framework (WCF).

下面是一些参考资料:

对WCF MSDN库文章

WCF开发的引物从code杂志

<一个href="http://www.developer.com/net/net/article.php/3668901/A-Primer-to-Windows-Communication-Foundation.htm">A什么样的覆盖在其他两个快速摘要引物

这篇关于什么是远程方法调用.NET标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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