Saving and Restoring State in Windows Store Apps | Visual Studio Toolbox

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
In this show Robert discusses managing state in Windows Store apps. When a user switches away from an app in Windows 8, Windows suspends the app. When the user switches back to the app, it looks like it was running all along. Windows can terminate a suspended app if it needs to free up memory for other apps or if it needs to save power. When the user starts the app again, he or she will want the app to resume where it left off. Robert shows how to accomplish this by saving and restoring state. He shows what code you need for XAML apps to do this and where that code goes.
You can find the sample app Robert used here. He also wrote up this topic on his blog.
5750ab4c3998b8a162f8db1b371b0ba2.gif


View the full article
 
Back
Top