Course description
We will look at application states and app lifecycle notification events in this course. Next, let's go over the distinction between launching and activating an app. As part of application Process Lifetime Management, we will explore the options available for storing application state, which are: Local, Temporary, and Roaming Folders and Settings. Finally, you will see how to implement an extended splash screen.
Prerequisites
This course assumes that students have some programming background and experience using Visual Studio 2010/2012 and Java Script, HTML5 and CSS3. In addition, the course assumes some basic knowledge of XAML markup and basic knowledge of Windows Store applications and Windows 8.
Learning Paths
This course is part of the following LearnNowOnline SuccessPaths™:
Building Windows Store Applications
Meet the expert
Peter Thorsteinson has been working for two decades in many areas of Microsoft-based software development technologies, including all the latest languages, frameworks, and tools. He has been involved in several large scale software development projects and has authored and co-authored several books and courses relating to ASP.NET, AJAX, JavaScript, WPF, WCF, WF, ADO.NET, and LINQ. Peter is currently focusing on ASP.NET MVC, jQuery, Task Parallel Library, Windows Azure, and SharePoint Development.
Course outline
Process Management
States and Events (20:11)
- Introduction (00:43)
- Application States (04:01)
- Running State (00:33)
- Process Lifetime Management (03:06)
- WinJS.Application Events (02:24)
- Demo: App Event Listeners (04:12)
- Demo: WinJS.log (04:51)
- Summary (00:18)
Process Life Management (28:46)
- Introduction (00:39)
- WebUIApplication Suspension (02:02)
- Launching vs. Activating (02:17)
- Activation Modes (01:04)
- ActivationKind Emulation (01:35)
- The onactivated Event (00:31)
- The oncheckpoint Event (01:03)
- The resuming event (01:26)
- The error Event (00:44)
- The start Function (00:41)
- Suspend App in Debug Mode (00:43)
- Process Lifetime Management (00:27)
- Demo: Process Lifetime Mgmt (04:34)
- Demo: Suspend and Resume (03:34)
- Demo: Timer (01:28)
- Demo: Event Handling (05:31)
- Summary (00:20)
Managing State (42:41)
- Introduction (00:32)
- Managing State (04:04)
- Application Data Storage (03:10)
- Access Temp Folder Data (05:02)
- Access Temp Folder Data (Cont) (03:29)
- Access Local Folder Data (01:43)
- Access Local Folder Data (Cont) (00:41)
- Access Local Settings (01:28)
- Access Roaming Folder Data (01:41)
- Acces Roaming Settings Data (00:57)
- Registering for Roaming Changes (02:07)
- Managing State (00:17)
- Demo: Handling State (01:29)
- Demo: Temp Folder (05:11)
- Demo: Disk Cleanup (00:55)
- Demo: Local Folder (03:03)
- Demo: Local Settings (02:36)
- Demo: Roaming (03:58)
- Summary (00:08)
Extended Splash Screen (16:01)
- Introduction (00:36)
- Extended Splash Screen (05:55)
- Demo: Splash Screen (01:54)
- Demo: Extended Splash Screen (03:04)
- Demo: Show and Hide Splash (04:13)
- Summary (00:16)