Fundamentals of Deserialization in .NET?
Posted
by
Codehelp
on Stack Overflow
See other posts from Stack Overflow
or by Codehelp
Published on 2012-06-13T04:27:59Z
Indexed on
2012/06/13
4:40 UTC
Read the original article
Hit count: 186
I have been working with XML for past couple of months with .NET Basically all the work I do involve XML in oneway of another so I thought it would be good to learn the serialization and deserialization part of the game. My work mostly involves the 'Deserialization' part of it. Almost every time I have an XML file which has to be used by the application that I write. An object form of the XML is the best way to use. Now initially the XML was very straight forward, just a couple of tags which would translate into a class very easily using XSD.exe tool. Things grew a bit complex with nesting of tags and I found Xsd2Code gen tool work fine. During this whole process I have been able to do my work with a lot of help from Stackoverflow community, thanks for that, but I think I have missed the forest for the trees.
I need to know how Deserialization works in .NET Fundamentally, I would like to know what happens behind the scenes in taking a XML and converting it into a usable object. Code samples have helped me in the past, and as mentioned earlier the problem get's solved but the learning does not happen.
So, if anyone can guide to resources that can get me started on the Deserialization part of the game, I would be thankful to them.
Regards.
© Stack Overflow or respective owner