Hello,
First of all, thanks for helping! The article is quite vague, and the writer himself is not too sure about the solution. But it did give mesome ideas about in which direction I could search.
I was thinking about implementing a custom IMessage or inheriting RealProxy or something similar. Right before the IMessage is sent, I should attach a client Guid. I know that a dictionary is sent along with the message, so maybe I can add the guid in the dictionary. If I could then extract this guid service side,it could then be added toCallContext. Then, I caninvoke whatever method isrequested in the business layer, and check for the guid in the CallContext there. That would solve this issue in anabstract manner. The problem is that I do not have much indepth knowledge about how remoting works"under the hood".
|