Click here to Skip to main content
15,884,353 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
HI,

Can anyone share me code snippet which useful in implementing Remote Procedure call client server Architecture using C# and
Posted

1 solution

The question makes little sense, because the old term "RPC" can be applicable to .NET only in a broad sense of this word, as very advanced and object-oriented flavors of "RPC", such as "classical" remoting or WCF. There are too many code samples on the Web, but the minimal sample will probably look bigger than you may think of.

Please see:
http://en.wikipedia.org/wiki/.NET_Remoting[^],
http://msdn.microsoft.com/en-us/library/kwdt6w2k%28v=vs.100%29.aspx[^],
http://msdn.microsoft.com/en-us/library/2e7z38xb%28v=vs.100%29.aspx[^],
http://en.wikipedia.org/wiki/Windows_Communication_Foundation[^],
http://msdn.microsoft.com/en-us/library/dd456779.aspx[^].

Believe me, even if I spend enough time to develop a minimal code sample, it would not be effective enough, because you would also have to understand it, and it would not be easy without reading on the architecture and good .NET understanding. It will take considerable time, even if you have good experience learning such things.

If you want, you can model something of the level of "RPC" using sockets, or rather TcpListener/TcpClient.

See also: http://en.wikipedia.org/wiki/Remoting[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900