Main contents

Test with Coverage.

1 February 2006

Your unit tests aren’t as effective if you don’t use code coverage to measure how much of the code your tests are exercising. For development at home and work, I’ve been using NCover, which has worked wonders for my unit tests. When I started using NCover over a year ago, I wanted something that would [...] Read more »

Posted in Uncategorized | No Comments »

The MSBuild Blog

27 January 2006

Avalon is flashy. Indigo is robust and extensible. Generics, iterators and anonymous methods make writing extensible code faster than ever. One of the workhorses that doesn’t get a lot of credit is MSBuild. There are so many things you have to do to get software out the door in your customers’ hands, so many things [...] Read more »

Posted in Uncategorized | No Comments »

Writing Your Own UriParser

15 November 2005

I posted before about my displeasure using System.Uri for advanced scenarios. It won’t parse mailto-style URIs and extending it is just evil. Yet, I’d still recommend you use System.Uri for your URI needs, even if it won’t parse your URI.   Why? Well, with each version of the framework, Microsoft will work to make it [...] Read more »

Posted in Uncategorized | No Comments »

Item Templates in Visual Studio 2005

6 November 2005

When Beta 1 of the VS Express Editions came out, I wrote an article about Item Templates for Visual Studio 2005; a topic I was excited about ’cause I hate typing more than I have to (if I had a quarter for everytime I wrote [TestFixture]…). I always meant to update it for Beta 2. [...] Read more »

Posted in Uncategorized | 2 Comments »

Why System.Uri sucks, Part 1

2 November 2005

I recently reviewed Framework Design Guidelines, the new book by Abrams and Cwalina about designing frameworks for .NET. In the review, I mentioned that I disagreed with their advice of using System.Uri (v.1.1) to represent some URIs. Here’s why.   The name System.Uri implies, to me, a URI, any URI. If your URI scheme follows [...] Read more »

Posted in Rants | No Comments »