Autofac - An addictive .NET IoC container

  •        62

Autofac is an IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity. This is achieved by treating regular .NET classes as components.You can get Autofac by grabbing the latest NuGet packages. If you're feeling adventurous, continuous integration builds are on MyGet.



Related Projects


DContainer is a common dependency injection adapter for the popular IoC container.


MiniAutFac - simple IoC container for Microsoft .NET that provides base functionality.

HK2 - A light-weight and dynamic dependency injection framework

HK2 is a light-weight and dynamic dependency injection framework. HK2 is an implementation of JSR-330 in a JavaSE environment. JSR-330 defines services and injection points that can be dynamically discovered at runtime and which allow for Inversion of Control (IoC) and dependency injection (DI).

StructureMap - A Dependency Injection/Inversion of Control tool for .NET

StructureMap is a feature rich IoC tool with support for interception, object lifecycles and intelligent disposal patterns, open generic types, modular registrations, conventional registration, custom policies, and all the injection pattern support you would expect in a modern .Net IoC container.

Portable IoC

Portable IOC is a tiny thread-safe Inversion of Control container that is portable between Windows Phone, Windows Store (Windows 8), Silverlight, and .NET apps.

Dependency Injection Service Provider (DISP)

Dependency Injection Service Provider (DISP) is a wrapper or an interface that aim to allow .NET developers use one of the inversion of control (IoC) containers out there such as StructureMap or Ninject from a high level of abstraction, using the same interface and classes wi...


- Embedded RavenDB in MVC - Generic Repository - Dependency Injection with Autofac

IOC Demo

Simple demo showing how constructor based dependency injection works with Unity and Autofac.

SimpleInjector - An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success

The goal of Simple Injector is to provide .NET application developers with an easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.Many of the existing DI libraries have a big complicated legacy API or are new, immature, and lack features often required by large scale development projects. Simple Injector fills this gap by supplying a simple implementation with a carefully selected and complete set of features. File and attribute based configuration methods have been abandoned (they invariably result in brittle and maintenance heavy applications), favoring simple code based configuration instead. This is enough for most applications, requiring only that the configuration be performed at the start of the program. The core library contains many features for all your advanced needs.

OpenNETCF.IoC Framework

A lightweight managed IoC (Inversion of Control) and DI (Dependency Injection) framework designed for the .NET .Compact Framework but the full framework is supported as well. It supports Registration, construction and even event aggregation in a tiny and wicked fast package. ...

Autofac for WindowsPhone7

This project hosts the releases for Autofac built for WindowsPhone7


Provides a wrapper to the various IoC container implementations so that it is possible to switch to a different provider without changing any application code.

Mugen Injection

A lightweight and fast managed IoC (Inversion of Control) and DI (Dependency Injection) with support for constructor, property, field, and method call injection

Dagger 2 - Compile-time dependency injection framework for both Java and Android

Dagger is a fully static, compile-time dependency injection framework for both Java and Android. It is an adaptation of an earlier version created by Square and now maintained by Google. It eliminates all reflection, and improves code clarity by removing the traditional ObjectGraph/Injector in favor of user-specified @Component interfaces.

Guice - Lightweight Dependency Injection Framework for Java

Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 6 and above, brought to you by Google. Guice alleviates the need for factories and the use of new in your Java code. Think of Guice's @Inject as the new new. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts.

feather - Lightweight dependency injection for Java and Android (JSR-330)

Feather is an ultra-lightweight dependency injection (JSR-330) library for Java and Android.


Composer is an extensible Compositional Architecture framework, providing a set of functionality such as Inversion of Control container (IoC), Dependency Injection (DI), Plug-in framework, Aspect Oriented Programming (AOP), Configurability and Composability for components.

LogikBug's IoC Container

LogikBug's IoC dependency injection container is very light weight. Finding a dependency injection container to suite my needs seemed rather cumbersome. So, I wrote this DI Container to suite my needs. There are many ways to register types, including scanning assemblies...