Advertisement
2_2002-2004 Miscellaneous #130423

A sample for .Net Remoting in Only 4 lines of Code

The attached file contains 2 Solutions, the first is the Remoting server, the Remoting server contains a Base Class, A Remote Object and a Console Server that registers and hosts the server class, the second Solution contains only the client. In basic terms the way it works is the Server Hosts the singleton Server object that inherits from the base class, the client does not have the server object and references only the base class, it connects to the server and calls a function in the server object which writes to the server. Let me know what you think, all the samples I have seen out there go into too much detail etc especially when you just want to know how to implement Remoting. Remember to fix the reference on the client to the base class

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine