Improving the application to make it compliant with the Windows 8 lifecycle model
An important requirement for a Windows Store app is that it should comply with the Windows 8 UI lifecycle model, which is to save its state and important data when we stop using the application. So if it gets unloaded from memory, we can restore its state without any problem. It gives our application a good user experience (UX) and aligns itself with the expectations of the customers, in that when we open it back, it will seem as if it has never been closed.
Getting ready
As any Windows Store app would do, we propose evolving the resultant application from the previous recipe.
How to do it...
Here we will add some data to showcase the lifecycle steps that our application ...
Get Microsoft .NET Framework 4.5 Quickstart Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.