27 Dec 2011

Hosting multiple WCF services in one Windows Service

When hosting WCF with ASP.NET its easy to expose multiple services under one website.I wanted to host multiple services in a single WinService. Having a look on the internet there are a few mentioned ways...However, I also have an extra requirement, Read more
14 Aug 2011

ObjectComparer Testing class

As I have been writing code, passing messages around, I needed a fast way to see if the content of the messages were what I expected.Simple Object Comparing class would suffice, however a little googling around showed up a number of them which only l Read more
13 Aug 2011

Domain Events - take 2

My last post was some of my thoughts as my understanding progresses, I did not achieve a domain event, however I was able to publish events from any object which could be injected on.When it comes to raising domain events on a domain class, you shoul Read more
11 Aug 2011

Domain events and Event Publisher

quick get out clause, I am very new to this topic, however I feel there is a lot to be learned here.In this article I wanted to post some code of an Event Publisher, its a slight alteration to the one located here, you can ;also find a similar idea i Read more
11 Aug 2011

Simple AOP proxying with classes

A couple of ways to create an object with a logging interceptorProxyGenerator generator = new ProxyGenerator(new PersistentProxyBuilder()); //way 1 Person person = new Person(29, "David"); person = generator.CreateClassProxyWithTarget<Person& Read more
01 Jun 2011

What happens to the Transient object

Working with MVC 3 and using Windsor, it was noted that the new interfaces provided did not have a clean up method exposed. This interested me as I think Windsor is one of the best out there, but for Microsoft to not include an clean up method (IE Re Read more
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