Understanding the App Lifecycle
The first area of integration that I will look at is the Metro app lifecycle. So far in this book, I have been glossing over the way that apps are started and managed and I have been relying on one part of the code that Visual Studio adds to the
default.js file when creating a new projects and deleting other parts for brevity.
In this chapter, I’ll explain the different stages in the life of a Metro app, explain how and why they occur and show you how to understand when your app moves from one stage to another. Along the way, I’ll explain why the code that Visual Studio adds isn’t all that useful, show ...