When to save the state of the application for tombstoning?
I was wondering when is more appropriate to save the view model of the single pages. I see two possibilities: Save the state of each page (it's viewmodel) everytime you navagitefrom it so that it is already saved if the application happens to be terminated and reactivated during the tombstoning process In the application deactivated event, go through all the pages that are in the navigation stack and save their state (their viewmodel) and then re-inject it in the application activated event. Which is the correct way of handling it? Thx Simone Unfortunately the "best" time to save the state