Home › Forums › Support › Sending CustomObject from client application to Server application fails. › Reply To: Sending CustomObject from client application to Server application fails.
Thanks for your reply.
Presently we are using ‘Genuine Channels’ Remoting Library and we are evaluating .Net Network Library from NetworkComms.Net to replace Genuine Channels.
We built our framework some what similar to the below description.
We have separate Client and Server application solutions.
Both Client and Server application reference a class library(.dll) which consists of an interface name ‘IAgent.cs’ .
A method name ‘GetCustomerDetails(customerId)’ is declared in ‘IAgent.cs’ interface.
The Server application has got the method implementation of ‘IAgent.cs’ interface in ‘Agent.cs’ class.
Now I have to get the object of ‘Agent.cs’ class at Client side so that I can invoke the method ‘GetCustomerDetails(customerId)’ with this object reference and get the details on client side.
I have gone through AdvancedSend.cs but I did not find anything related to my requirement. Moreover there is no use of ‘SendReceiveObject’ there.
Could you please provide me an example demonstrating ‘SendReceiveObject’ or an example meeting the above described requirement.