Contents tagged with unity
-
IoC comparison: Autoregistration in Microsoft Unity
The Microsoft Unity container does not include autoregistration, so you could do without it, roll your own or use the Unity Auto Registration addon by Artem Govorov. This post looks at Unity with this addon. Like Windsor's autoregistration API, it also uses a fluent interface. Unity's fluent interface starts with the extension method ConfigureAutoRegistration, then follows one or more Include(FilterPredicate, Then.Register.As… ) blocks, and ends with ApplyAutoRegistration();
-
Comparing .Net IoC containers, part one: Microsoft Unity
Microsoft Unity is one of the simplest IoC containers to use. You only need a couple of lines of code to get going: Continue reading...