Windows 8 style apps in WPF

After building my first Windows 8 store app (using XAML and C#), I wondered whether it is doable to build desktop apps in the same style, without WINRT classes.
Since I preferred using XAML and C#, WPF was the application framework of choice.

Second step, how to build a Windows 8-style UI (formally known as Metro UI) without building my own controls form scratch?
Turns out there is an excellent solution for this: the mahapps.metro UI kit. Mahapps does the styling of common controls for you, and packs some Windows 8 specific controls, like a Panorama (sideways scrolling) view.

Last step was including Windows 8 components that make life as a programmer easier:

  • Asynchronous Programming with Async and Await, via Async Targeting Pack.
  • ASP.NET Web API. NuGet: `Install-Package Microsoft.AspNet.WebApi`.

Result is a personal reference app. What it does it simple: show current departure times for any bus stop and train station in the Netherlands, using the 9292ov (non-official) JSON API.

One Response to “Windows 8 style apps in WPF”

  1. […] gesteld aan het grote publiek. Hopelijk komt hier snel verandering in, zodat het maken van apps als deze een eenvoudiger wordt. Tweet /* */ Filed in Uncategorized Tags: api, […]

Leave a Reply

Human Verification