Thursday, March 17, 2005

XmlSerializer in .NET

easier way to access xml than DOM.
maps xsd types to CLR types.
can only support datastructures that can be expressed in xsd.
can be executed in unsafe environments.
additionally support SOAP section-5 encoding
used by ASP.NET webservices.
generates and compiles code on the fly to do serialization and deserialization.
uses code dom compilation which requires use of temporary files on disk.
hence the process should have read/write permissions on the folder. use 'Filemon' to diagnose issues.

No comments: