That's when I realized my incantation of the Automation API had gone wrong

26 Feb 2011 I had written a tree search function that would use a stack to avoid a stackoverflow exception. I wish I had programmed it recursively…

More. DataTemplates. In. WPF.

18 Feb 2011 Imagine you want to fill a toolbar through its ItemsSource and appropriate DataTemplates and not all commands are created equal. Some commands should be shown as Buttons, or ToggleButtons or whatever Visual tree you may come up with. In such a situation you can use a DataTemplateSelector. How to implement...

Coding Katas – Improving the mechanics of coding

14 Feb 2011 If only one could code straight from the brain – Alas, we aren’t there yet. If you want to reduce the impedance between a programming idea in your mind and the act of coding you can do exercises that concentrate on reducing that impedance. This is what Code Katas are:...

Suggestions to improve your WPF ViewModels

31 Jan 2011 Throughout the years where I have been working on WPF projects, I have seen a fair share of classes used as ViewModels (VM) that have been lacking in revealing their intended and proper usage, such that their resistance to maintenance is increased. I think that the following suggestions help to...

Creating and then using a local OpenWrap repository

03 Jan 2011 When I looked at this blog post here about setting up a NuGet local repository I couldn’t help but write up the necessary steps to get a local repository with OpenWrap: I’m not sure so let’s ask OpenWrap PS C:\dotnet\dev\github> o get-help add-remote COMMAND add-remote DESCRIPTION Adds a remote repository....