Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / February 2004

Tip: Looking for answers? Try searching our database.

ISerializationSurrogate & .NET Remoting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jacek He?ka - 06 Feb 2004 08:14 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.