Category Archives: Uncategorized

Split a Camel-Cased word into its components

I needed to split a camel-cased word into it’s component parts, and found the following extension method to help out.  It works pretty well. public static string SplitCamelCase( this string str ) { return Regex.Replace( Regex.Replace( str, @"(\P{Ll})(\P{Ll}\p{Ll})", "$1 $2" … Continue reading

Posted in .NET, C# Snippets, Extension Methods, Uncategorized | Leave a comment

Marshaling – How I got involved (Part 2)

I left you last time having completed my morning at Donington, looking around the circuit and behind the scenes.  The afternoon was where my marshaling career really began – out “on the bank”. I’d been allocated a position on post … Continue reading

Posted in Uncategorized | Leave a comment

WCF Restful interface

For one of the projects I am working on, I needed to be able to self-host a WCF service.  That in itself is a fairly simple task.  It was, however, complicated by the need to allow a SilverLight 3 application … Continue reading

Posted in Uncategorized | Leave a comment

Renault and the Future of Formula 1

As some of you already know, I’ve been volunteering as a motor sport marshal for a few months now, and so I wanted to share my thoughts about today’s announcement that Flavio Briatore and Pat Symmonds of Renault’s Formula One … Continue reading

Posted in Uncategorized | 1 Comment

New comment added to a stored procedure

Today, I had occasion to add a comment to a stored procedure. Can you tell exactly how happy I was about it? — – IMPORTANT!!!!! — – This procedure has been replaced with **name witheld** — – Any modifications made … Continue reading

Posted in Uncategorized | Leave a comment

Who says .Net can’t be fun?

or at least, mildly amusing on a dull afternoon… “The CLR has been unable to transition from COM context 0x21b378 to COM context 0x21b4e8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a … Continue reading

Posted in Uncategorized | 1 Comment

Essential Tools

Insipired by Scott Hanselman’s blog post on the subject, I’ve decided to compile a lit of the tools I’ve added to my new developer machine.  Most of these are producivity enhancements, but some are just for fun. These are just … Continue reading

Posted in Uncategorized, tools | Tagged , , | 1 Comment

ASP.NET MVC – Helpers

This is the third in a series of posts about things I found out while learning ASP.NET MVC. Today : Helpers. Helpers are, as their name suggests, helpful things. If, for example, you want to add the current assembly version … Continue reading

Posted in Uncategorized | 1 Comment

Moving to a new PC – Migration checklist

OK, so I have been given a new machine at work (more RAM, faster processor, more disk space) and I’m in the middle of migrating all my old data to the new box. I’m the kind of person that will … Continue reading

Posted in Uncategorized | Leave a comment

Found the first thing in Refactor! that I don’t like

So far, the latest versions of CodeRush and Refactor! have been pretty impressive.  Unfortunately, I’ve just found the first bit of behaviour that I’m not too keen on.  Take the following snippet… foreach (MyProvider provider in lps) {  Console.WriteLine(provider.AccountStatus); } … Continue reading

Posted in Uncategorized | 3 Comments