[Mono-list] serialization

Dwivedi , Ajay Kumar AjayKumar.Dwivedi@dresdner-bank.com
Thu, 25 Apr 2002 07:00:36 +0100


> The first is quite poorly implemented in MS.Net, a lot of  objects tagged
as
> [Serializable] simply don't serialize with the XmlSerializer.

	A Serializable Attribute is completely different from XmlSerializer.
For
XmlSerialization, each public field/property which does not have the 
[XmlIgnore] tag must be gettable and settable and must not return an
interface
etc. This is required since an external class (XmlSerializer) can only
access public
fields and properties.
	No attribute tags are required on a class for XmlSerialization.

Happy Hacking,
Ajay