Posts Tagged: .Net

.Net 4.0 Convert Object to XDocument

Posted by & filed under Blog.

I wrote up a quick sample application that converts .Net objects into XDocuments using XmlSerializer. This code is not perfect and I can imagine that objects that contain circular references will blow up. DataContractSerialization may be a better option for that. More information on de/serialization at Microsoft. For converting XmlDocument to XDocument, I used some…
// READ MORE //