Main menu:

 

August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Site search

Archives

Categories

Tags

Links:

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.

Write a comment





Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page.