Category Archives: Mini-Tutorial

Windows 8 Storing Data With SQLite

In a previous blog post, I showed the repository pattern with local or remote data storage.  In this blog post, based in part on work done for my upcoming book Pro Windows 8 With C# and XAML by Jesse Liberty … Continue reading

Posted in Mini-Tutorial, Windows 8 | Tagged | 7 Comments

Windows 8 Conference Buddy–Be A Sharing Target

Yesterday, we looked at being a sharing source.  This was surprisingly easy.  Being a target would be more complex except that Visual Studio provides a template that greatly simplifies the process.

Posted in Contracts, Mini-Tutorial, Windows 8 | Tagged | 5 Comments

Windows 8 Conference Buddy–Be A Sharing Source

Everybody loves to share.  (At least after they are beaten into doing so in pre-school.) The ability to share from one application to another can be anything from useful to critical.  Historically, we’ve seen a number of ways of doing … Continue reading

Posted in Contracts, Mini-Tutorial, Windows 8 | Tagged | 1 Comment

Windows 8–Let Templates Simplify the Search Contract

In a previous post, I showed a bit about how to implement the Search contract.  Once you understand the changes to Package.appxmanifest and App.xaml.cs, however, you can save yourself the bother of mucking about with these, and let the template … Continue reading

Posted in Data, Mini-Tutorial, Windows 8 | Tagged | 4 Comments

Win 8 – Conference Buddy. Storing to Local or Roaming Files

In a previous post, I explained how to store data to a “known location” such as the My Documents folder. Often, however, you will want to store local data to a subfolder of AppData on the user’s disk. This is … Continue reading

Posted in Data, Mini-Tutorial, Windows 8 | Tagged | 14 Comments

Windows 8–Storing App Data

While your Windows 8 Store application is running, you want to be saving data all the time.  After all, the user can switch to another application at any time, and you only have five seconds to store out your data … Continue reading

Posted in Essentials, Mini-Tutorial, Windows 8 | Tagged | 5 Comments

Windows 8: Creating Great App Bar Buttons

With chrome pushed out of Windows 8 Store applications, most of the navigation has been moved into the AppBar.  A good AppBar has buttons that are easy to reach and easy to recognize.

Posted in Mini-Tutorial, Windows 8 | Tagged | 5 Comments

Using the Grid App Template in Windows 8

Microsoft Visual Studio offers a number of templates for building Windows 8 applications. In most of my postings, we’ve been using the Blank application template, but the Grid App template is extremely powerful.  Unfortunately, it is not obvious how to … Continue reading

Posted in Data, Essentials, Mini-Tutorial, Windows 8 | Tagged | 1 Comment

Windows 8 Theme Transitions

Much of the animation that you want in your application is already built in.  Pages and objects make their transitions smoothly. At times, however, adding a bit more animation can make the difference between a “fast and fluid”  application and … Continue reading

Posted in Animation, Essentials, Mini-Tutorial, Windows 8 | Tagged | 3 Comments

Windows 8–Conference Buddy. Reading JSON From A File

I’d like to have a page in Conference Buddy that lists all the customer contacts.  We’re currently writing these contacts to file in JSON format as described in this article.  My goal for today is to read that file and … Continue reading

Posted in Data, Essentials, Mini-Tutorial, Windows 8 | Tagged | 3 Comments

Windows 8 GridView, ListView and SnapView

In a previous posting I demonstrated how you can create a powerful display of grouped data using the GridView, which is typically used to fill the screen.  Every Windows 8 application must also support SnapView, however, in which your application … Continue reading

Posted in Data, Mini-Tutorial, Styles and Templates, Windows 8 | Tagged | 2 Comments

Windows 8–Grid View

GridView is one of the most powerful out-of-the-box controls in Windows 8, but fully understanding how to use it is not necessarily trivial.  The complexity, I believe, comes because GridViews are often used to hold groups of collections, rather than … Continue reading

Posted in Essentials, Linq, Mini-Tutorial, Windows 8 | Tagged | 1 Comment