A C# port of Chris Boulton's php-resque