Archive For The “.NET Framework” Category

The magic of Castle Windsor!

By | February 24, 2011

featured_placeholder

A while ago I wrote a few articles on this site about exposing Castle Windsor to your application. For some reason that caught the attention of Krzysztof Koźmic and Mark Seemann. In short they felt I was doing it all wrong! Which led to a follow up article. Fair enough, I was new to the whole principle [...]

Read more »

Stylesheets, stylesheets, stylesheets… ARGH!

By | January 19, 2011

Ever had a problem in your code where you ended up banging your head against a brick wall for a number of days? To make it better, once solved the solution appeared to be so laughably easy that it’s kind of embarrassing to explain why it took you so long to notice the mistake? Of [...]

Read more »

Castle Windsor: exposing the container? “Not, at all”

By | September 29, 2010

It looks as if yesterday’s entry about Castle Windsor went all over the Internet. Somehow it also got to the attention of Krzysztof Koźmic. He seems a rather smart fellow, being project leader of Castle Core and Castle DynamicProxy! He made a tweet in reference to my entry: http://bit.ly/aSmqFy “So how do I expose my [...]

Read more »

Castle Windsor: exposing a container to an application

By | September 28, 2010

A while ago I wrote multiple entries about generic factories and repositories. The ObjectFactory I created there was loosely based around the ideas of Inversion of Control. I’ve learned many new things by now and apparently it’s a reasonably common journey for anyone new to IoC to start out with a little ObjectFactory class and [...]

Read more »

Letting your UnitOfWork & Repositories support multiple frameworks

By | August 30, 2010

On popular demand, part 2 with a sample project can be found here. A little while ago I found myself in a situation where I had to replace Microsoft’s Entity Framework with NHibernate. I had figured this wouldn’t be too much of a problem! I had neatly used a Unit of Work and Repository implementation [...]

Read more »