26 Aug 2010

Caching Interceptor with Windsor

I am currently building a web application on the ASP.NET MVC 2 framework, I think its a great framework for MVC. However I am using a couple of other frameworks including Castle Windsor to look after my objects. I noticed I had some functions Read more
13 Aug 2010

Using DataAnnotations with NHibernate

There are many validation frameworks the main one is NHibernate Validator, which uses its own set of Attributes. I wanted to use the DataAnnotation Attributes as they are supported by Asp.Net MVC out the box. Im sure there are some solutions for th Read more
23 Jun 2010

Whiteboard Released

Whiteboard is a chat web application, consider it a proof of concept. The goal of this project was to design and implement a web application using Design Patterns and Open Source FrameworksTechnology StackNHibernate (using Linq to NHibernate)FluentNH Read more
06 Apr 2010

Nhibernate: Self Reference Object

I needed to see if i could make an object which references another instance of the same class.Here is a quick example (Im using FluentNhibernate) of a Staff class, each staff member can have a manager, and they can have a number of report's This lead Read more
26 Mar 2010

TinyPlug Released

An initial release of TinyPlug is out!you may be asking what is that.. Well its a small plug-in manager. It was born due to a side project requiring a simple plug-in mechanism.It’s not in competition with any other manager, and should not be mistaken Read more
14 Apr 2009

Struture of a Unit Test

A Test fixture can be made of the followingFixture (optional)FixtureSetUp - this is ran once before all the tests (set up the fixture)FixtureTearDown - run after all the tests have completed (this can be used to clean up after all the tests)SetUp - r Read more
11 Jan 2009

DotDiff, my first open source project

I have written code for open source before, but this is my first full (small) project which I have released.Presenting, Pause for effect, DotDiff, (first day see's 12 downloads!)If you remember the sandbox compare tool I wrote way back last year, I h Read more
30 May 2008

Generate Xpath from the XmlNode

when programming with old school .net XPath, you may have a instance of a XmlNode/XmlElement, and require its ABSOLUTE path. well here is a possible solution:;Sample Xml;<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.c Read more
17 Mar 2008

Finding out the connection type of your Client Apps

It can be helpful to know how and what ports your application connects to the MS SQL server. Ok maybe not, but i was in a pickle and needed to find this information out. What I was looking for was all the connections I had open to a SQL server from a Read more