Course
Skills Expanded
Windows 8 Background Processing and Lifecycle Management
Creating background tasks and handling state management in Windows 8 Store apps
What you'll learn
This course explores the new way Windows 8 Store apps execute on a system, and the new challenges faced by developers. Topics covered include managing the state of the application and an exploration of the different types of background processing that are possible in Windows 8, including a look at how to perform downloads in the background, and how to create applications that are capable of playing audio while they're not in the foreground.
Table of contents
Course overview
4mins
The Windows 8 Process Lifecycle and State Management
68mins
- Overview 2m
- Windows 8 Process Lifecycle 10m
- Demo: Process Lifecycle 1m
- Application events 6m
- Demo: Adding the application events 7m
- Launching and activation 4m
- Demo: Launching and activation 2m
- State management using LocalSettings and LocalFolder 6m
- Demo: LocalSettings 9m
- State management using RoamingSettings and RoamingFolder 2m
- Demo: RoamingSettings 1m
- SuspensionManager 2m
- Demo: SuspensionManager 5m
- Push Notifications 6m
- Demo: Push Notifications 5m
- Summary 1m
Performing work in the background in Windows 8
47mins
- Overview 2m
- Background processing 101 12m
- Demo: Building a background task 5m
- Debugging a background task 1m
- Demo: Debugging a background task 1m
- Manifest changes 3m
- Demo: Manifest changes 2m
- The BackgroundTaskDeferral 1m
- Demo: Async work using the BackgroundTaskDeferral 3m
- The Maintenance Trigger 1m
- Demo: Maintenance Trigger 2m
- Background Task Progress and Completion 3m
- Demo: Background Task events 2m
- Suspending and termination 1m
- Demo: Re-registering task events 2m
- Where does my background task run? 1m
- Demo: Sharing data between the foreground app and background task 2m
- Constraints 3m
- Summary 1m
Lock screen apps
50mins
- Overview 1m
- Lock-screen apps 6m
- Demo: Managing the lock screen 1m
- Becoming a lock screen app 2m
- Demo: Becoming a lock screen app 4m
- Demo: Sending a local lock screen badge update 2m
- Demo: Sending a local lock screen tile update 2m
- WNS 4m
- Demo: Creating a lock screen app with Raw Push Notifications 2m
- Pushing raw Notifications 1m
- Demo: Sending raw notifications to the client 2m
- Executing code 1m
- Demo: Working with the incoming value 2m
- Demo: Updating the badge on the lock screen 1m
- Demo: Displaying a toast on the lock screen 1m
- Network trigger 2m
- Demo: Creating the control channel trigger 7m
- Keep-alive trigger 1m
- Demo: Creating the keep-alive trigger 1m
- Executing code 1m
- Demo: Creating the control channel task 1m
- Demo: Creating the keep-alive task 1m
- Manifest registration 1m
- Demo: Manifest changes 1m
- Time trigger 1m
- Demo: Executing a background task based on a Time Trigger 2m
- Summary 1m
Uploading and downloading files in the background
21mins
- Overview 1m
- Background transfers 3m
- Demo: Downloading in a separate process 1m
- Downloading a file 1m
- Demo: Downloading a file 2m
- Cancelling a download 1m
- Demo: Cancelling a download 2m
- Progress reporting 1m
- Demo: Reporting transfer progress 1m
- Process lifecycle implications 1m
- Demo: Process lifecycle implications 2m
- Uploading a file 1m
- Demo: Uploading a file 2m
- Demo: Uploading multiple files using the BackgroundTransferContentPart class 2m
- Summary 1m
Playing audio in the background
12mins