Serialization used in Profile (Asp.Net 2.0)

  • Thread starter Thread starter Miguel Dias Moura
  • Start date Start date
M

Miguel Dias Moura

Hello,

Could someone tell me what are the main differences between using Binary
or XML serialization?
I am saving complex types in my profile but I am not sure which
serialization to use.

Thank You,
Miguel
 
xml serialization create a human readable xml file, and all binary data is
converted to hex or numbers. binary serialization creates a binary stream
(no xml markup, but a binary marker) and binary data is stored as is.

if you want fast and small, and don't need any interoperability use binary.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top