What is the .NET standard for remote method invocation?

后端 未结 2 2125
悲&欢浪女
悲&欢浪女 2020-12-19 06:42

Scenario:

  • A common assembly defines domain object types (an assembly that is referenced by both client and server assemblies)
  • A
2条回答
  •  生来不讨喜
    2020-12-19 07:41

    Well, you may use .NET Remoting, but that is officially deprecated, you should really go for WCF.

    Edit: WCF does not share an assembly, instead it shares an XML contract that both client and server uses to generate parsers for specified types and methods.

提交回复
热议问题