Yearly Archives: 2013

Typescript 0.9.5 Compiler Errors

Typescript 0.9.5 has been released by Microsoft and is available to download here:, With the release notes available here: After downloading, and installing the latest version, I now have two typescript compile error within the MotorDB Project: Type

Tagged with: ,
Posted in MotorDB, Typescript

Documenting the WebApi using Microsoft ASP.NET Web API 2 Help Page

This post will be to continue putting in place some of the plumbing for the MotorDB application. In previous post I created a RESTful web service to return policy data to the client. As this could be seen as a

Tagged with: , , ,
Posted in Help Page, MotorDB, Visual Studio, WebAPI

Using MVC Attribute Routing

Now that Visual Studio 2013 has been officially released, one of the new features that I have been looking forward to use, is the new attribute based routing My MotorDB project was created using Visual Studio 2012. So after installing

Tagged with: ,
Posted in MotorDB

Getting Started with using StructureMap IoC container

Its been a while since I have had the opportunity to work on the MotorDB project. But before continue with anything, its time to put in an IoC container that should have done at the beginning. Because I want to,

Tagged with: , ,
Posted in MotorDB, StructureMap

The Chain of Responsibility Pattern – Or how to over engineer FizzBuzz

What is FizzBuzz Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both

Tagged with: ,
Posted in Design Patterns, TDD

Using the command pattern to solve the Mars Rover Kata – Part 3

This is the third and final part to solve the Mars Rover kata. Part 1 and Part 2 to view what has been done previously. The Command Pattern The Command Pattern encapsulates a request as an object, thereby letting you

Tagged with: , , ,
Posted in Kata, Mars Rover, TDD

Mars Rover Kata – Part 2

This is the next part of the Mars Rover Kata. Part 1 can be found here. In part 1 we used the state pattern to determine the rover’s direction after turning left or right. Time to start creating the Rover.

Tagged with: ,
Posted in Kata, Mars Rover

Using the State Pattern to solve the Mars Rover Kata – Part 1

If you have not come across this kata before, this is it: A Mars Rover has been developed to map out the landscape. It’s a small robot which can move on a grid, controlled by simple commands. In this example,

Tagged with: , , , , ,
Posted in Kata, Mars Rover, TDD

appharbor and Typescript – 404 errors

In part 1 of setting up and creating the MotorDB application, Typescript was used. To help demonstrate the application, it is hosted at appharbor However after appharbor pulled down the latest code from GitHub, the sample data was not being displayed.

Tagged with: , ,
Posted in appharbor, MotorDB, Typescript

Using Knockout – Part 1

This is the continuation of the previous post. Now that we have the data, and have populating our Model, all that is required is to create the template to use. If you are new to Knockout, the following sites will

Tagged with: , , ,
Posted in jquery, Knockout, MotorDB

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 13 other subscribers