Course info
Apr 4, 2013
2h 50m

Windows 8 From Design To Delivery with XAML and C# walks through the design, implementation, testing, and delivery of a real-world application. This course puts Windows 8 programming skills into context by creating a non-trivial application from scratch. Along the way we look at XAML layout and controls, page navigation, data binding, data management, life cycle management, working with files, MVVM, snap view, semantic zoom and much more. Both Windows 8 novices and intermediate programmers will benefit from this real-world scenario walk-through.

About the author
About the author

Jesse Liberty is a Senior Consultant at Wintellect, where he specializes in Xamarin, Azure and Web development. He is a Certified Xamarin Developer, a Xamarin MVP and a Microsoft MVP.

More from the author
Visual Studio for Mac
1h 19m
Apr 16, 2018
More courses by Jesse Liberty
Section Introduction Transcripts
Section Introduction Transcripts

Before we go much further, we're going to want to save the data that we've been collecting into a file. To do that, we need to agree upon a storage mechanism and the layout for our data. One popular option for storing and for transmitting data is JSON. JSON stands for JavaScript Object Notation, but with JSON. NET, an open source application, it's extremely easy to move. NET objects into JSON format. JSON. NET is available through CodePlex or through using NuGet. It creates a format that is easy to use and human readable, which can be critical in an application like this in the development and debugging of working with complex data. Let's take a look at how we can convert our customer class into JSON format.

We come now to a critical phase in the development of our application in which we will create additional pages and navigate among them. To get started, let's create a second page and see what's involved in navigating between the second page and the first, potentially passing data between the pages.

Windows 8 Charms provide universal access to such common features as searching, sharing, and settings. You acquire the charms by sliding them in from the right side of the screen. The charms are always the same across all applications. You can choose which of these charms to implement through the use of contracts. We'll implement the sharing charm. Virtually any application can easily be a sharing source. All that is required is to respond to the DataTransferManagers's OnDataRequest event and to package your data either as text, HTML, images, URL, etc. Let's take a look at how we can make Conference Buddy into a sharing source. We're going to have Conference Buddy respond to the sharing charm and be a sharing source.