RemotingConfiguration.Configure("Server.exe.config", true); var remoteObj = Activator.GetObject(typeof(RemoteObject), "tcp://localhost:6791/Callback") as RemoteObject; if (remoteObj != null) { // When I run the server, this line throw an exception // The error msg is: Requested Service not found remoteObj.AgentAdded += remoteObj_AgentAdded; }
RemotingConfiguration.Configure("Client.exe.config", true); var remObj = new RemoteObject(); remObj.Add("Agent 1"); // The Add method fire the AgentAdded event
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)