Overview
Autofac is a wonderful Dependency Injection/Inversion of Control .NET container written by Nicholas Blumhardt.
In fact it is so good, that the entire xLim 2 got migrated to it from Castle/Windsor Container in a couple of days and has gained a lot from that transition.
And if I had to choose between autofac and R#, I would keep the container. I actually had to make this choice when migrating from Castle (there was no R# 4.0 with the lambda support at that time).
Features
- Deterministic disposal of components
- Expression-based configuration
- Proper support for multi-scoped component resolution
- High performance
- Lean codebase
Articles
- Structuring .NET Applications with Autofac IoC
- Component-Driven Development and IoC Containers
- Developing Component-Driven Applications powered by IoC Containers
Additionally, you can browse through the posts belonging to Autofac category.
References
Documentation shortcuts: