Saturday, March 24, 2012

Serialization used in Profile (Asp.Net 2.0)

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,
Miguelxml 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)
"Miguel Dias Moura" <md*REMOVE*moura@.gmail*NOSPAM*.com> wrote in message
news:eB$rMNfJGHA.424@.TK2MSFTNGP12.phx.gbl...
> 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
>

0 comments:

Post a Comment