Has anyone developed code that would return a collection or array of Lazy<T> objects and have T be associated with a proxy so that when the client accesses one of the Lazy<T>.Value the proxy is evaluated and a call to the WCF server is made.
So in essence two calls are made to the WCF server. The performance of this process hinges on bet that the client will only access a small percentage of the collection or array of Lazy<T> objects returned. One immediate question would be serializing
the collection of Lazy<T> objects. The other question would be ensuring that T has the appropriate ties with the proxy to make the call to the sever. Finally putting this altogether in a buildable solution seems complicated.
View Complete Post