Learn your way! Get started

Windows 8 Using XAML, Part 01: Introduction to Apps

with expert Ken Getz


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 10/29/2012
Level Beginner
Runtime 1h 56m
Closed captioning N/A
Transcript N/A
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

This course will introduce Windows 8 applications, and see how the CLR (Common Language Runtime) fits in. Then you see how to determine differences between building applications using CS/XAML and JavaScript/HTML/CSS. The course will then examine the various project templates in Visual Studio. You will learn about application capabilities and create a simple browser application and add appropriate event handlers. Next you will learn to add code to save the application state. The course will examine asynchronous capabilities built into the .NET Framework 4.5 and how to add a splash screen

Prerequisites

This course assumes that you have at least some programming experience in one or more modern programming languages. JavaScript will be particularly easy for you to learn if you have experience with any C-style languages—including Java, C#, C++, or Visual Basic .NET would be helpful—but this is not required.

Learning Paths

This course will help you prepare for the following certification and exam:
MCSD: Windows Store Apps
70-484: Essentials of Developing Windows Store Apps Using C#

This course is part of the following LearnNowOnline SuccessPaths™:
Building Windows Store Applications

Meet the expert

Ken Getz is a featured instructor for several of our Visual Studio courses. He is a Visual Basic and Visual C# expert and has been recognized multiple times as a Microsoft MVP. Ken is a seasoned instructor, successful consultant, and the author or co-author of several best-selling books. He is a frequent speaker at technical conferences like Tech-Ed, VSLive, and DevConnections and he has written for several of the industry's most-respected publications including Visual Studio Magazine, CoDe Magazine, and MSDN Magazine.

Course outline



Tools and Templates

Platform and Tools (18:01)
  • Introduction (01:15)
  • Assumptions... (01:02)
  • Platform and Tools (05:45)
  • Basic CLR Facts (01:19)
  • .NET and Windows 8 Apps (01:02)
  • What are the Options? (00:41)
  • Is One Better Than the Other? (00:53)
  • Distributing Windows 8 Apps (00:50)
  • Getting a Developer License (00:23)
  • Got the Developer License (00:25)
  • Demo: Developer License (03:19)
  • Summary (01:00)
Project Templates (33:53)
  • Introduction (00:47)
  • Application Templates (00:27)
  • C# Project Templates (01:46)
  • C# Other Project Templates (01:01)
  • Demo: C# Projects (05:08)
  • Demo: App in Action (06:33)
  • Demo: Code and XAML (03:55)
  • Replace MainPage.xaml (00:35)
  • Demo: Replacing MainPage.xaml (04:34)
  • Demo: MainPage.xaml (06:13)
  • Demo: Where is the Back Button? (02:08)
  • In Review... (00:21)
  • Summary (00:20)

Simple Browser and LifeCycle

Simple Browser (22:15)
  • Introduction (00:15)
  • Create a Simple Browser (00:19)
  • Demo: Simple Browser (05:06)
  • Demo: URL Text Box (04:02)
  • Handling Events (00:24)
  • Which Event Should You Handle? (00:56)
  • Demo: Handling Events (05:30)
  • Hooking Up Binding (01:14)
  • Demo: Property Binding (04:12)
  • Summary (00:13)
Application LifeCycle (24:08)
  • Introduction (00:50)
  • Adding a Splash Screen (01:21)
  • Demo: Splash Screen (03:15)
  • Manage Application Lifecycle (01:26)
  • Examine the App Lifecycle (00:57)
  • Suspend/Resume/Terminate (00:31)
  • App Lifecycle (01:07)
  • To Notify or Not to Notify? (01:17)
  • Managing State (00:27)
  • Introducing SuspensionManager (00:50)
  • Asynchronous Features (00:30)
  • Sidebar on Asynchronicity (00:47)
  • Visualizing Async Behavior (01:06)
  • In the Bad Old Days (00:24)
  • Making it All Easier (01:22)
  • Warning the Compiler (00:21)
  • Simple Asynchronous Example (00:49)
  • Demo: await (06:30)
  • Summary (00:08)
Saving State (18:19)
  • Introduction (00:15)
  • Register the Frame (00:53)
  • Demo: Frame Registration (01:38)
  • Saving the Apps State (00:36)
  • Saving User Data (00:39)
  • Demo: Session State (04:20)
  • Demo: LoadState Method (07:08)
  • Restore the Apps State (00:49)
  • Other Ways to Open App (00:37)
  • Summary (01:20)