Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the .NET standard for remote method invocation?

Tags:

c#

.net

Scenario:

  • 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.

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

like image 230
André Pena Avatar asked Aug 24 '10 19:08

André Pena


1 Answers

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).

Here are a few references:

MSDN library articles on WCF

WCF Developer's Primer from CODE Magazine

A quick summary primer of what's covered in the other two

like image 77
Dan J Avatar answered Oct 24 '22 05:10

Dan J