Pages

Friday, 14 September 2012

Windows 8: Binding a ProgressBar to a long running Task

A really common scenario in a Windows 8 / WinRT app (or any app) is to load data from the web or do some other action that takes a while to complete. While loading our data, we also have to update the UI to show some sort of loader so the user knows a bunch of data is being loaded.

With Windows 8 and the Async / Task model it's really easy to do asynchronous task on another thread and not block the UI. But how do we show the user what's going on with the long running task?

Read More

Adding and Editing WinRT Behaviors with Blend

I am a huuuuuuge fan of Behaviors (and Actions and Triggers) for Silverlight and WPF. I have been very disappointed when WinRT turned out not to support them.

Luckily, Joost Von Schalk created WinRTBehaviors on CodePlex (also available on NuGet). But his solution still lacks any Blend support. I have not been able to reproduce the full Blend behavior editing experience, but I managed to take the first baby-step that at least saves you from creating Behaviors from code.

Read More

Windows 8 Colors (HEX code)

Windows 8 Colors (HEX code)
In my own projects I really like to have correct colors. With Windows 8 coming out, more and more of my projects are around Windows 8. I’m not much of a designer, but sometimes I like to play pretend. I was able to grab these colors from Windows 8 RTM. I’m only including the HEX code because RGB would have been a pain to copy from the programs I use. If you need RGB, there are lots of HEX to RGB color converters online. I hope you find these useful!.

Read More

Building Data and Services for Windows 8 Apps


In this post, I'm going to kick off a series in which I'll walk through the creation of a back-end service for a Windows 8 app. This first post will provide an overview of the series, and introduce a couple of potential technologies you can use to build your back-end services.

The Challenge
As an example of a scenario that might merit a nicely abstracted back-end service, I'm going to create a simple leaderboard service that can store and retrieve high scores and win/loss/tie stats for a variety of games. Since it's where I've spent the majority of my time lately, I'm going to focus on games built with HTML and Javascript, but the platform choices I'm going to describe will work just as well for games and apps build with C# or VB and XAML..

Read More
Web Informer Button