Remoting + Lazy Load
I have little experience with distributed app. and now am trying to build an app. using .net remtoing. But I am stuck on using whethermarshal-by-value ormarshal-by-reference.I understand their differences and I think marshal-by-value object is much more efficient as it saves a lot network traffic. But from what I read, when you serialize an object and pass it across the network, all objects referenced by this object will be serialized as well. It has adverse effect on performance, obviously.
So my question is how can I use marshal-by-value object and at the same time lazy load some/all objects referenced by this object instead of pull the whole object graph at once?
Any resources will be great. Thanks.
Michael

