XML Serialization and Soap Serialization

Posted by Costa on Stack Overflow See other posts from Stack Overflow or by Costa
Published on 2010-04-12T07:03:33Z Indexed on 2010/04/12 7:13 UTC
Read the original article Hit count: 867

Hi

I think even if we will not need interoperability between applications, and even we do not communicate with web services, it is easier to serialize using SoapFormatter than XmlSerializer because SOAP will serialize the private members by default, while XmlSerializer will work on public properties and fields. actually I cannot find a reason for using XmlSerializer, do I miss something? what is disadvantages of SoapFormatter. or what is advantage of XML serialization over Soap? (xsd)

thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about serialization