Blogroll Me!

Lives in India/Chennai/Chennai, speaks English.
This is my blogchalk:
India, Chennai, Chennai, English.

A blog on what is happening in the .NET world in India.  

Anand's .NET WebLog

Home Archives Contact

Tuesday, July 15, 2003 :::
Transparent and Real Proxies:::  

One of the most common questions I have faced is on why do you need two proxies, when you could do with one. Chris Brumme has as usual come up with an wonderful article on Proxies and how the CLR manages call to different kinds of objects. A must read...

The answer in 1 para is :
The TP is pure magic. Its job is to fool all the CLR code that performs casting, field access, method dispatch, etc. into thinking that it’s dealing with a local instance of the appropriate type. In contrast, the RP has absolutely no magic. Its job is to provide an extensibility point where we can define RemotingProxy, or YourOwnProtocolProxy. It simply isn’t possible for us to combine magic with extensibility on the same object, as we shall see.

::: posted by Anand at 2:02 PM

Comments: Post a Comment

Subscribe to Anand's .NET WebLog!

powered by Bloglet

Listed on Blogwise Listed on BlogShares Technorati Profile

Powered by Blogger