My ReSharper NUnit Test Templates

March 29th, 2009

Much like my previous post about what I use for testing in Silverlight, I was recently asked on Twitter for my ReSharper NUnit templates.  I am posting them here if anyone finds them useful. Basically, I write a LOT of tests every day.  These templates allow me to write tests faster. New Test File Template This file template adds a new “Test” target when you say tell Visual Studio to create a new file from template Read More...

My Silverlight Testing Rig

March 28th, 2009

I was recently asked by someone on Twitter to describe my setup for writing tests against my Silverlight application.  I thought I would write them down here in case others might find this information useful. Testing Framework: A slightly modified version of NUnit that works with SIlverlight Read More...

Binding to Resources in Silverlight/WPF

March 15th, 2009

This article is describing how to solve the problem in SIlverlight, but the problem can be solved in WPF using the exact same technique. So, now it is time to internationalize our application.  I want to use the built-in "resx" mechanism for i18n in .net, so I create myself a resource file and start adding strings to the table: Visual Studio automatically generates the resource class for me, and I am ready to bind to the data in my XAML: <UserControl Read More...

My Silverlight 3 Wish List

March 6th, 2009

I have been developing full time in Silverlight 2 for a few months now.  I must say, it is the most fun environment I have ever programmed in.  It has been an enabling technology in our product, and I am rather excited to see what comes next.  If the pattern continues as I expect it probably will, we will hear all about the features of Silverlight 3 in a few weeks at Mix 09 Read More...

Right-Clicking in Silverlight 2 — A Refinement

March 1st, 2009

The Problem If you search for "Right Click Silverlight 2" in Google, you will get several hits.  There are several ways to achieve this functionality, and they all have two things in common that I object to: 1. They use Javascript to send a message to the Silverlight application Read More...