WinRT State Management Tutorial

WinRT applications transition between a number of different states. Closed applications transition to running applications. Running applications can be suspended or closed. Suspended applications can be resumed or terminated.

image

Understanding these states and maintaining correct Application and Session State is critical to the UX. In this tutorial, we explain the various states and the transitions between them. We build a simple winRT application that manages Application State, such as preferences, using the new “roaming” feature of winRT and Windows 8.

The sample application also shows how to save and restore Session State that includes the data a user has entered when an application is suspended, terminated, and then restarted within a session.

This tutorial demonstrates all the concepts and code associated with state management. In part 2 of this series, state management of an application with a more complex UI will be demonstrated.



2 Responses to “WinRT State Management Tutorial”

  1.   Peter Says:

    the second link [Create Project] is wrong.
    It should be:
    http://www.projectstreamer.com/users/myvbprof/winRT_State_Part1_02/winRT_State_Part1_02.html

  2.   Burrows Says:

    Fixed … thanks Peter.

Leave a Reply

*