C# Part 2: Manage app lifecycle and state
- Posted: Oct 26, 2012 at 9:52 AM
- 75,747 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
This is Part 2 of the four part series that walks you through building your first Windows Store app with C#. In this video, you'll learn about the app lifecycle and how to save and restore data to roaming settings and to session state.
[02:22] Step 1: Using SuspensionManager
[04:23] Step 2: Save the app's state
[11:02] Step 3: Restore the app's state
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Thanks
Good Tutorial. Nice to see how async is so useful in saving and restoring navigation data. You could just mention that all these methods RestoreAsync, SaveAsync and RegisterFrame are provided to us by SuspensionManager.cs and someone who wants to understand what they do can just go to their definition. But nice to see session management being simplified beforehand for the developer.
Step 1: Using SuspensionManager
Step 2: Save the app's state
Step 3: Restore the app's state
Shoud be
Step 1: Life cycle
Step 2: Session data, Save & Restore
Step 3: Application data, Save & Restore
The way you switch between SuspensionManager and ApplicationData is very confusing. I had to watch this video three times to know when you are doing what.
Remove this comment
Remove this thread
close