Category Notes

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
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
12 Dec 2010

Upgrading Windsor, a small Gotcha

With the release of NHibernate 3.0 (using Windsor 2.5.2) I have been going through my projects updating them.;I noticed a small gotcha when upgrading from Windsor 2.1 to 2.5.2. Here is the error I gotParser Error Message:;Could not load file or assem Read more
25 Nov 2010

Initial look into Data Warehouses

I have recently looking into Data warehouses, these are the very quick notes I have madeReference Book: Data Warehouse ToolkitRecognised experts: Ralph Kimball and Bill Inmon, whom have a conflicting point of view. (neither are wrong or right it’s ju Read more