I use the DataContractSerializer o serialize / deserialize a complex class.
During deserialisation, if an XML markup does not correspond to any property of my class, or if a property of the class is not present in the XML, there is not a single warning. This is problematic if a user make an invalid modification in the xml, or if
a developer make a refactor in the code...
How can I change this behavior ?
Thanks for your time.
View Complete Post