Hi,
I have objects serialized with serialization surrogates. Can I pass them
through .NET remoting as marshal-by-value objects? How can I use surrogates?
Jacek
Steven Cheng[MSFT] - 07 Feb 2004 08:18 GMT
Hi Jacek,
Thanks for posting in the community! Regarding on the issue, we're
finding proper resource to assist you and we will update as soon as posible.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security(This posting is provided "AS IS",
with no warranties, and confers no rights.)
Yan-Hong Huang[MSFT] - 09 Feb 2004 04:14 GMT
Hello Jacek,
Thanks for posting in the group.
Based on my understanding, now the question is: How to use
ISerializationSurrogate in .NET remoting to transfer MBV objects? Please
feel free to post here if I have misunderstood the question.
In order to achieve it, I suggest you refer to sample Remoting -
BinaryFormatterWithSurrogates.zip at.
http://users.pandora.be/Peter.Himschoot/
It is a formattersink that allows you to add serializationsurragates.
If you have any concerns, please feel free to post here.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ?C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
Jacek He?ka - 10 Feb 2004 14:23 GMT
Hi,
Peter's library is not enough - I can't pass MBR objects through these
formattersink's
Jacek.
.
> Hello Jacek,
>
[quoted text clipped - 28 lines]
> that you completely understand the risk before retrieving any software from
> the Internet.
[MSFT] - 11 Feb 2004 07:03 GMT
Hi Jacek,
I didn't got deep into Peter's code, but with MBR, we didn't pass the
actual object from server to client, just a reference to the server object.
And, with FormatterSink we still can use MBR object in .NET remoting.
Luke
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Jacek He?ka - 09 Feb 2004 07:24 GMT
Thank you,
I'll probably use Peter's solution.
Jacek
> Hi,
> I have objects serialized with serialization surrogates. Can I pass them
> through .NET remoting as marshal-by-value objects? How can I use surrogates?
>
> Jacek