The significance of proxy in remoting
While i was working on a .net remoting application I was wondering why do we need a separate proxy class, why can’t we have the client calling the remote object ,can not call it directly.
This question might have been encountered by many techies, but very few people try to digg into the details..
The answer to the above question is that the remoting objects lie in different application domains or app domains and you cannot call it directly and proxy is the way through which you can call..
When client wants to make method call on the remote object it uses proxy for it.These
method calls are called as “Messages”. Messages are serialized using “formatter” class and
sent to client “channel”.Client Channel communicates with Server Channel.Server
Channel uses as formatter to deserialize the message and sends to the remote object.
Posted: August 17th, 2008 under Uncategorized.