1
votes

I have a lot of data (all elemenents of the periodic table) in a xml file.

Should I load every time the app starts or use the make a list of element objects in the IsolatedStorageSettings?

Is the second allowed? Which one would be more efficient?

1
where is the xml file? in a remote location? Because you can store the xml file in isolated storage.Shawn Mclean
It's in the isolated storage.James RedEyes

1 Answers

1
votes

Personally, I would serialize the file manually and store it, then deserialize it on launch - I am assuming that the periodic table you have is used with more than one element at a time.

It would make no sense at all to save that data in a key/value store like IsolatedStorageSettings.

ISS is generally recommended for application settings or for data that changes over time as the application is used. Your scenario is not exactly like this.