Open Source Inversion of Control Containers in C#

7 projects

IoC container for . NET with programmatic configuration and fluent builder API. Registers components via types, instances, or lambdas; supports assembly scanning and dependency injection.

Details

Suite of . NET tools including Castle Core (DynamicProxy, logging abstractions), Windsor IoC container, and DictionaryAdapter. Supports dependency injection, interceptors, and component lifecycle management.

Details

Port of the Java Spring Framework to . NET. Provides an IoC container, data access support, transaction management, and integration components.

Details
StructureMapInactive

Dependency injection and IoC container for . NET with support for lifecycle management, open generics, conventional registration, and interceptors. Available via NuGet; maintainer recommends Lamar for new applications.

Details
Winter4NetInactive

Lightweight Spring-like IoC container (NI. Ioc) for . NET with XML-based object graph configuration.

Details
EmpiniaInactive

Extensible component framework for Windows GUI applications based on inversion of control. Functionality is provided by plugins that register against extension points; plugins can define their own extension contracts for further extensibility.

Details

Framework for building dependency injection systems from Microsoft patterns and practices. Supports registering constructors and services, locating services, and creating objects with attributes such as CreateNew and ServiceDependency. Legacy technology; documentation preserved on Microsoft Learn.

Details