Main contents

Note to self… Category Archive

FxCop-compliant Exceptions (Code Snippets vs. Item Templates)

19 October 2005

Mr Haack posted recently about a topic near and dear to my heart: inheriting from Exception. To keep FxCop quiet, there is a surprising amount of code to write when creating your own exception types, as Phil notes: make it serializable, implement four constructors, etc. It can be tedious to do that every time you create [...] Read more »

Posted in Note to self... | 1 Comment »

Drinking from a Firehose

16 September 2005

It looks like another PDC is about to wind down. Just like last time, the amount of information is overwhelming. Nothing revolutionary this time, but some exciting stuff nevertheless. By far the most exciting is LINQ (Language INtegrated Query): it’s got a catchy name and it’s got unbelievable power and potential. The coolest thing about [...] Read more »

Posted in Note to self... | No Comments »

The Wealthy Blogger

11 April 2005

Our eviction two months ago really made me consider buying a place,my financial situation and my future. I’ve since taken steps to be more responsible with my money: sock some away, put some in an RRSP; stuff I always meant to do, and now finally did. So, when Darren Barefoot pointed out the Wealthy Blogger, [...] Read more »

Posted in Note to self... | 1 Comment »

Question: Where do you put your unit tests?

23 November 2004

We recently discussed (think: hotly debated) where to put the unit tests for an assembly at work. My preference is to put them in their own assembly and reference the assembly under test. My colleague, at a bare minimum, wants them in the same assembly as the classes under test, but ideally would put the test [...] Read more »

Posted in Note to self... | 2 Comments »

FxCop Globalization Rules and Exception Constructors

12 November 2004

Update: Looks like I was wrong again. (You know what they say about assuming?) Reflector is an even greater tool than I first realized: not only does it show the classes in an assembly, it also shows the resources for the assembly; something my eye does not see and brain does not look for, because [...] Read more »

Posted in Note to self... | No Comments »