Blog Archives

Castle Windsor NLog Integration dll versioning problem


Today I was setting up a new project that was using Castle Windsor’s NLog integration facility. However, when I tried running my ASP.NET MVC project I got the following error: Could not load file or assembly ‘NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c’

Posted in .NET, ALT.NET, Castle.Windsor, NLog, Troubleshooting

Castle Windsor NLog Integration


Motivation Castle Windsor comes with what it calls a “Logging Facility“. What the latter allows you to do is very quickly enable logging using a variety of ways but what is most interesting is the fact that the “Logging Facility”

Posted in .NET, ALT.NET, Castle.Windsor, IoC, NLog

Castle Windsor Typed Factory: Resolving dependencies at runtime


Learning about how to use IoC containers, correctly, is quite challenging and while I am still by no means an expert, I am getting a better grasp of how to do it the “proper” way. On my journey, I have

Posted in Castle.Windsor, IoC

Getting started with Castle Windsor tutorial – Part 2


This post is, I believe, long overdue. In Part 1 of this series, I said I would demonstrate how to perform auto registration so here it is. Consider the following code which as you can see in the registration phase

Posted in .NET, Castle.Windsor, IoC

Getting started with Castle Windsor tutorial – Part 1


EDIT: It would appear that this particular blog post is by far the most popular of my ramblings. Having now gone through the pain, I would say that if you need to get up and going quickly with using Castle

Tagged with:
Posted in Castle.Windsor, IoC