Is It possible to perform serialization with circular references?

XML serialization doesn't support circular references, you need to exclude the parent property from the serialization using the XmlIgnore attribute. See this blog post for a way to maintain the relationship when you deserialize Alternatively, you could use DataContractSerializer instead of XmlSerializer It supports circular references, but doesn't provide much control over the XML schema.

XML serialization doesn't support circular references, you need to exclude the parent property from the serialization using the XmlIgnore attribute. See this blog post for a way to maintain the relationship when you deserialize. Alternatively, you could use DataContractSerializer instead of XmlSerializer.It supports circular references, but doesn't provide much control over the XML schema...

Nice blog post. Trying your example. – Arpit Khandelwal Feb 15 at 14:01 Thanks Thomos, your solution was life saver!

– Arpit Khandelwal Feb 15 at 16:51.

You can either create your own XMLSerializer or use the DataContractSerializer and the DataContract(IsReference= true) attribute to tell the serializer to remember the references.

Thanks for response, any example with a piece of code will add more help. :) – Arpit Khandelwal Feb 15 at 13:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions