Free Code: Windsor Castle Autofactory Facility

So I recently was working on a system that used extensive need of delayed factory support for dependencies on our components. Effectively if ClassDepending needed to use ClassDepended, the constructor parameter was instead Func<ClassDepended>. This solution was built on Windsor container. Having to remember to register all those custom factories in our bootstrap routines was becoming a huge…

0

Specifying Specific Dependencies with Windsor Fluent Registration

So it’s become apparent that the documentation (actually concrete examples in my personal opinion) for Windsor Container are a little lacking in the area of showing people how to indicate a specific component instance registration for depenency injection. At least once a week I get an email on the topic asking my “how-to” knowledge. After…

0

Windsor Container Series

It’s no secret that I am a fan of Windsor Container. Here’s a really great series of Advanced Windsor Container Tricks posts that I am linking here for reference Registering Delegates  & A Delegate Factory Facility Auto registration How to resolve arrays How to register and use decorators The Startable Facility The EventWiring Facility How…

0