Posts Tagged dependency injection
Autofac 2.x
Posted by gamlerhart in .NET on January 14, 2010
A new version of favorite dependency-injection-container Autofac is making progress. It follows the same principals, brings some new features etc. However they also refactored the API, so it isn’t compatible with the older versions. This means, that migrating to the new version is some work. However there are useful new features. Lots of them I’ve [...]
Read complete postHiro, the World’s Fastest IOC Container
Posted by gamlerhart in .NET, software-development on July 1, 2009
The creator of the LinFu-library is working on the ‘world’s fastest IOC container’, called Hiro. Basically Hiro reads once the configuration and then it compiles everything to a fixed, immutable container. The compiled container has then ‘burned in’ the wiring of all components in IL-Code. So there’s no state, no map lookups and no locking [...]
Read complete postSmall DI-Containers and Autofac
Posted by gamlerhart in .NET, software-development on April 23, 2009
There are tons of dependency injection (DI) containers around in the Java and the .NET world. The are the well know, big ones like Spring (Java, .NET), Castle Windsor etc. Most of them are quite powerful. However, they aren’t small, are heavily based on XML-Configurations and they have their complexity. So, on small projects I [...]
Read complete post