Author Archives: Steve

Ninject.MVC3 no longer on Nuget (or is it?)

It seems that within hours of posting my article on Dependency Injection: A Beginner’s Guide, some things had changed with the Ninject packages available on Nuget. The article [..]

Snippets , , ,

Dependency Injection: A Beginner’s Guide

This article intends to outline the concept of Dependency Injection and its uses within a software engineering project. From Wikipedia.org: “it is a design pattern that separates behaviour [..]

Articles , , , , , , ,

SyntaxHighlighter Evolved and Chrome

While performing some housekeeping on this blog today I couldn’t help but be slightly frustrated by the unsightly vertical scrollbars which appear on the code snippets that I [..]

Snippets , ,

Redirecting to an action with an anchor with Asp.Net MVC

There are those times when you want to redirect to a route from inside your Asp.Net MVC controller and tag an anchor name (#myanchor) on the end, whilst [..]

Snippets , , , ,

Asp.Net MVC 3 Areas and _ViewStart.cshtml Scope

I came across a problem today (or should I say misunderstanding) with MVC 3 (RC) and the _ViewStart.cshtml file. In case you haven’t used these yet, the _ViewStart.cshtml is [..]

Snippets , , ,

Data Caching with .Net 4.0 and Asp.Net MVC – part 3

Welcome to part 3 of this short data caching series. In the previous parts we had a look at how we can employ smart in-memory data caching to [..]

Articles , , , , , , ,

ScriptSharp, System.dll and build errors

Having discovered the excellent ScriptSharp project just a few weeks ago, I began to encounter errors with the project in that sometimes it would cease to build successfully. If [..]

Snippets , , , , ,

Blog Code Formatter Visual Studio Extension

Just a quick note to say that I just published a new Visual Studio 2010 Extension, which makes it easy to format your source code/css/SQL/Html etc, ready for [..]

Tools , ,

Asp.Net and Colorbox: Creating a ‘delete’ confirmation dialog

This article was inspired by a friend of mine who wanted to implement a delete confirmation dialog in his website, and I thought it might be a useful [..]

Articles , , , ,

Testing for a jQuery object in Javascript

I’ve just spent an inordinate amount of time trying to figure out how to test if an object in Javascript has actually been extended using jQuery or not. [..]

Snippets , ,