c# - XML Serialization - Efficient? -


Hey everyone, I'm building a catalog app where users add / download information on cars. The result could be hundreds, potentially thousands of cars and their data (make, model, year, image etc.). WP7 is not seeing any databases, I am using XML, my question is, will it be able to store each object in the list, then serialize that entire list? When the user loads the app, the entire list is deserialized and each object is given immediately. Is there a better way of doing this? Thank you.

ps - I have come to DataContractSerializer, but it is not certain that I should use it because it belongs to WCF (and I am not using WCF in my app).

Just do and see. As long as every aspect of this is not new to you, you should take less time for the prototype and do some such tests as it will have to be discussed about SO - especially when the last outcome of the SO discussion is probably telling someone Yes you can prototype and test it.

If it is very slow, then you can see the options - using a different type of serialization method, to erase and run UI for partially disassembling objects and then to run Continue deserialization in the background, or whatever.


Comments