Answered by:
Need RPC call example written in C#

Question
-
Hi,
I'm looking for the C# approach with .Net for RPC. Does C# .Net provides RPC calls out of the box?
Can someone show me how to do a C/S RPC communication please? As simply as possible please. Just establish the communication, than do a very simple handshake conversion will do.
please help.
*EDIT*, pure C# .Net RPC, no WCF, please.
Thanks
- Edited by smetah Sunday, January 13, 2013 4:36 AM
Sunday, January 13, 2013 4:34 AM
Answers
-
Hi,
If you mean .NET Remoting, you can find a basic sample here, which show steps of how to do implementation of a remotable type, a listening or host application domain, a client or calling application domain, and show how to configure the remoting system in each application domain to use remote activation for the remotable type:
http://msdn.microsoft.com/en-us/library/xws7132e.aspx
Hope it helps.
Haixia
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by smetah Tuesday, January 15, 2013 3:49 AM
Tuesday, January 15, 2013 1:29 AM
All replies
-
Hi,
If you mean .NET Remoting, you can find a basic sample here, which show steps of how to do implementation of a remotable type, a listening or host application domain, a client or calling application domain, and show how to configure the remoting system in each application domain to use remote activation for the remotable type:
http://msdn.microsoft.com/en-us/library/xws7132e.aspx
Hope it helps.
Haixia
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by smetah Tuesday, January 15, 2013 3:49 AM
Tuesday, January 15, 2013 1:29 AM -
Perfect, Thanks!Tuesday, January 15, 2013 3:49 AM
-
This Code Sample also demonstrate a RPC implementation
http://code.msdn.microsoft.com/Chat-Console-Application-ff02cd69
Saturday, July 13, 2013 8:13 PM -
thanks kelvin, just wish that the description can be in English
- Edited by smetah Wednesday, July 17, 2013 7:01 PM just wish that the description can be in English
Wednesday, July 17, 2013 7:00 PM