Category Development

04 May 2011

Automated Build using Albacore

Recently I have been looking at Albacore as a solution for my automated build of .NET projects.;Albacore is Ruby based using Rake (Ruby Make) however the author has used the power of Rake and added some more tasks to work excellently with .NET.I am v Read more
27 Feb 2011

Xray Released

Xray is a small developer tool I created in the free time over this weekend, it provides the developer with a Viewer application which shows the contents of an IoC container.Currently there is only a Castle Windsor module, however anyone can provide Read more
03 Jan 2011

Creating Generic Objects Dynamically

I recently wrote some notes on how to create an object in a number of different ways, not just using the “new” keyword.This post was just to elaborate a little more on how to create an object with generics using IL. It should be easy to guess what is Read more
31 Dec 2010

Creating Objects Dynamically

Creating objects in .NET opens some interesting doors, of which is the point of this post. I have looked into 4 different ways of creating objects there are others! (Look at how objects are desterilised; I believe Castle Windsor also uses the same te Read more
14 Sep 2010

captcha for your site

I have been looking into captcha for my new site, once in a while I;received;spam from my old contact form. Being a simple form there was no way to filter out the evil bots!The good news is there are a number of solutions out there. Google have one o Read more
28 Aug 2010

Getting the 'Tag Frequency' using NH Linq

I wanted to have a Tag cloud on a blog site I am working on. For this I needed to have the Tag's and the frequency they appear on Articles. Using the NH 3 its really simple using the Linq provider (now included).Here is the Table structureArticle;;; Read more
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