XML

WP7 DataContractSerializer Private Members

Recently I found an issue using the DataContractSerializer on Windows Phone 7.  This isn't well documented and took some time to solve. Windows Phone 7 behaves differently to the desktop runtime when running the same code - hopefully for others googling this issue I am hitting the right keywords.

 

Under C#.NET you can define a class for serialization using something like the following:

Subscribe to RSS - XML