Unity
IoC Battle–Revisited
·313 words·2 mins
Programming
Autofac
Caliburn.Micro
Dynamo
IoC
Ninject
StructureMap
Tinyioc
Unity
Windsor
Introduction # I have been evangelizing the use of IoC for a number of years. Frequently the newly converted ask the following two questions:
Introducing Hazware.Unity.TypeTracking
·281 words·2 mins
Programming
Dependency Injection
IoC
Unity
A few years ago I wrote Type Tracking Extension for Unity and Extending and Demonstrating the Type Tracking Extension for Unity, and while I have been using Autofac more, I felt this code was due for a slight update. Given the ease of creating a NuGet package for Caliburn.Micro.Autofac (see Introducing Caliburn.Micro.Autofac), I thought that I could give some Nuget love to the Type Tracking Extension for Unity.
Extending and Demonstrating the Type Tracking Extension for Unity
·1166 words·6 mins
Programming
IoC
ALT.NET
Unity
Recently, I have received a few requests for some changes and an example for my Type Tracking Extension for Unity. This post is to address those requests. Of course, all of the source code for this post is added to the GitHub project Unity Extensions .
Type Tracking Unity Extension Source Code Has a Home
·87 words·1 min
Programming
ALT.NET
Unity
GitHub
Edit: Updated link at GitHub.
github logo I have finally found an online code sharing site to post my open source code to – Hazware Unity Extensions on GitHub . I posted all of the source code for my Type Tracking Unity Extension there, and decided to follow the Ninject model for licensing – I dual licensed it as MS-PL and Apache, so go enjoy and help me make it better.
IoC Challenge – Multiple interfaces to the same singleton instance
·509 words·3 mins
.NET
ALT.NET
Dependency Injection
IoC
Ninject
StructureMap
Unity
I have an IoC challenge that I am currently trying to work through. I have a series of classes that implement more than one interface, with the lifetime of the class needing to be a singleton, and I really don’t like the idea of falling back on custom instantiation code along with potentially custom lifetime management code to make this work.