Reputation: 1223
When creating a type to serialize/de-serialize into xml, what do I use in place of System.SerializableAttribute?
Upvotes: 1
Views: 1279
Reputation: 16319
You don't need to apply any specific attributes in order to serialize/deserialize a class, you just need to have public read/write properties for those things that need to be serialized.
If you're looking at persistence for tombstoning, then you should definitely take a look at Kevin Marshall's WP7 Serialization blog post. To skip to the summary, the best performance on WP7 is by using binary serialization.
Upvotes: 1