Category Archives: IoC

The Siege Project: Siege.ServiceLocation, Part 2 – Contextual Registration and Resolution

The Siege Project Introduction Siege.ServiceLocation Part 1 – Introduction and General Use Siege.ServiceLocation Part 2 – Contextual Registration and Resolution Siege.ServiceLocation Part 3 – Extending the container with custom use cases Siege.ServiceLocation Part 4 – Integrating Siege.ServiceLocation with ASP.NET MVC … Continue reading 

Also posted in For Fun, Testing | 6 Comments

The Siege Project: Siege.ServiceLocation Part 1 – Introduction and General Use

The Siege Project Introduction Siege.ServiceLocation Part 1 – Introduction and General Use Siege.ServiceLocation Part 2 – Contextual Registration and Resolution Siege.ServiceLocation Part 3 – Extending the container with custom use cases Siege.ServiceLocation Part 4 – Integrating Siege.ServiceLocation with ASP.NET MVC … Continue reading 

Also posted in Favorites | 1 Comment

Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.

In response to Julian’s thoughtful Dynamic Languages and SOLID Principles I’d have to argue he is about 95% there but is missing the last critical links needed to view this in a whole different light. For ISP, Julian says it … Continue reading 

Also posted in git, Open Source | 4 Comments

I recant my IoC! IoC containers in dynamic languages are silly.

After a year or so of solid Alt Dot Net infection (as far as infections go its a pretty awesome one to have), I decided to give Python a try again for more than one off sysadmin tasks, and to … Continue reading 

Also posted in Design Patterns, Design Principles, DRY, SOLID | 17 Comments

Wiring Up Generics In Castle Windsor

I’m working with a new team that has a slightly different technology stack then I’m used to.  On most projects where I am the team lead, StructureMap is my IOC container of choice.  I’ve always thought that this was just … Continue reading 

Also posted in Best Practices, Book Review | 2 Comments

The usual result of Poor Man’s Dependency Injection

Alternate Title: An IoC Container is a Rich Man’s Factory Pattern Implementation I ruffled some feathers with my last post on Poor Man’s Dependency Injection (PDMI), so please allow me to clarify further. The natural progression of using PMDI is … Continue reading 

| 14 Comments

Just say no to ‘Poor Man’s Dependency Injection’.

For background, Jimmy Bogard originally posted about the ‘poor man’s dependency injection’ style used in NerdDinner. Not to single out NerdDinner, because there are lots of apps out there doing this. NerdDinner just happened to be the most recent and … Continue reading 

| 14 Comments

Learning StructureMap Through Tiny Goals

While I’ve been using Castle’s Windsor for a bit now, but wanted to get some StructureMap code running just to get some exposure to it; I’ve heard good things. I decided to set a simple goal and try to achieve … Continue reading 

Also posted in StructureMap | Leave a comment