Interview Tips Interview Tips, Interview Questions and Answers

21Apr/100

.NET interview: What is the difference between the SoapFormatter and the XmlSerializer

SoapFormatter

SOAP formatter will actually take the field values of an object and store all of that information in the stream passed.

SoapFormatter is better to serialize arbitrary data

XmlSerializer

XML Serialization would just serialize the public properties of an object.

The XML Serializer is used typically for serializing simple types across web services

xmlserializer is better, more flexible and faster

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.