Advertisement

05.10.2007 at 02:25PM PDT, ID: 22565320
[x]
Attachment Details

BINARY SERIALIZATION vs XML SERIALIZATION in VB.NET / C# !!

Asked by kishore_peddi in Microsoft Visual C#.Net, Microsoft Visual Basic.Net, Visual Studio .NET 2003

Tags: serialization, xml, binary

Hi,

I am looking into the differences between "BINARY" and "XML" serialization. Here are the sentances i have got from web. I have NOT understood the concept clearly. Can you please explain ?

A notable difference between Binary serialization and XML serialization is that Binary serialization preserves instance identity while XML serialization does not.  In other words, in Binary serialization the entire object state is saved while in XML serialization only some of the object data is saved.  Binary serialization can handle graphs with multiple references to the same object; XML serialization will turn each reference into a reference to a unique object.

This sentance makes me crazy:

Binary serialization can handle graphs with multiple references to the same object; XML serialization will turn each reference into a reference to a unique object.

What is graph ???????? Can you please explain more clearly ? Appreciate your time and patience !!Start Free Trial
[+][-]05.10.2007 at 02:45PM PDT, ID: 19068719

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2007 at 03:33PM PDT, ID: 19068964

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.11.2007 at 07:58AM PDT, ID: 19072550

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.11.2007 at 07:59AM PDT, ID: 19072559

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.11.2007 at 10:01AM PDT, ID: 19073613

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, Microsoft Visual Basic.Net, Visual Studio .NET 2003
Tags: serialization, xml, binary
Sign Up Now!
Solution Provided By: traxion
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.06.2007 at 11:20AM PDT, ID: 19227361

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32