Automatically Load the Right SOS for the Minidump

Don’t you just love the following error message when trying to debug a minidump with SOS and WinDBG? The version of SOS does not match the version of CLR you are debugging.  Please load the matching version of SOS for the version of CLR you are debugging. CLR Version: 4.0.30319.1 SOS Version: 4.0.30319.235 SOS is…

Simple Validation with MVVM for Windows Store Apps

Developers who are writing Windows Store apps using C# and XAML might find some of the support for Model-View-ViewModel (MVVM) lacking. Both WPF and Silverlight provided specific interfaces that enabled you to store validation context about fields on a context and even supported asynchronous validation. Although there are some existing frameworks that provide this support,…

Introducing WintellectNOW

Last week, we introduced WintellectNOW, a new on-demand learning service designed to make the same training content that we provide to Microsoft and other large customers available anywhere, any time. Jeffrey Richter and a team of talented people at Wintellect designed and wrote the software, which we’re continuing to improve on a daily basis. We’ve…

Single Sign On with OAuth in Windows Store Apps

Various providers often provide documentation and even SDKs that make it easier to connect with and authenticate to their service. The problem is that most scenarios assume a web-based application or specific mobile clients. The process in general looks something like this: How can you take protocol modeled for the web and make it work…

Visual Studio vs. the PowerShell Command Line

Numerous times in the last month I’ve been working with different teams and when I whip out my PowerShell window and start doing all the magic, especially with Visual Studio command line tools, the young kids go crazy. The mix of command line development tools and PowerShell is a powerful aphrodisiac. Too bad that Visual…

Proceed with Caution – Windows Phone 8 App Lifecycle Events vs Async Methods

“We are on the path to Windows and Windows Phone Convergence” (//Build 2012 – How to Leverage your Code Across WP8 and Win8, Slide 6) I often hear people saying the phrase “Windows 8 Phone” when they are talking/asking about “Windows Phone 8”.  Throughout presentations that I’ve given and other discussions I’ve had over the…

Proximity Networking (NFC) in WinRT

I’ve spent a lot of time this spring learning about Near Field Communication (NFC) and the NFC networking API in WinRT. That part of WinRT is present both in Windows 8 and Windows Phone 8, which means it’s relatively easy to get tablets and phones talking to each peer-to-peer. One of the things I love…

Reflection Shader for Silverlight 3

I’ve become enamored with Silverlight behaviors lately because they provide a clean and easy-to-use mechanism for encapsulating complex behavioral logic and applying it to XAML elements. And I’m equally enamored with Silverlight pixel shaders, which allow similar encapsulation of complex visual effects implemented using Microsoft’s High-Level Shader Language, better known as HLSL. Last spring, I blogged about a technique…

Silverlight for Windows Phone Programming Tip #1

I’m spending the bulk of my time these days writing applications for Windows phones using Silverlight for Windows Phone (and having a blast doing it, I might add). As I write, I think of lots of little tips that can save time, reduce aggravation, and help all of us build better applications. So I thought…

Silverlight for Windows Phone Programming Tip #4

Here’s a quick one that’ll save you a lot of time and trouble if you’re not already aware of it. One of the coolest features of Visual Studio is that you can launch a debug run of a phone application on a phone rather than in the emulator. Since the emulator can’t emulate everything, sometimes…

Silverlight 3’s New Element Data Binding

One of the improvements you can look forward to in Silverlight 3 is element data binding, also known as element-to-element data binding. Silverlight 2’s {Binding} expression allowed you to specify the name of the property you were binding to, but not the element that owned the property. This typically meant you had to write a…

Building Windows Store Apps in HTML5 for Your Surface RT

My, what an interesting autumn it has been. Windows 8 has shipped, the Windows Phone 8 SDK has been made available to the public, Windows Phone 8 devices are just a few days away, and Surface RT – the new tablet from Microsoft – has landed in the hands of users world-wide. There has never…