Unity alternatives and similar packages
Based on the "IoC" category.
Alternatively, view Unity alternatives based on common mentions on social networks and blogs.
-
Castle Windsor
Castle Windsor is best of breed, mature Inversion of Control container available for .NET and Silverlight -
Microsoft.Extensions.DependencyInjection
The default IoC container for ASP.NET Core applications. -
Scrutor
Assembly scanning extensions for Microsoft.Extensions.DependencyInjection. -
Simple Injector
Simple Injector is an easy-to-use Dependency Injection (DI) library for .NET 4+ that supports Silverlight 4+, Windows Phone 8, Windows 8 including Universal apps and Mono. -
DryIoc is fast, small, full-featured IoC Container for .NET
DryIoc is fast, small, full-featured IoC Container for .NET -
Lamar
A fast IoC container heavily optimized for usage within ASP.NET Core and other .NET server side applications. -
VS MEF
Managed Extensibility Framework (MEF) implementation used by Visual Studio. -
Meet Grace
Grace is a feature rich dependency injection container library -
Stashbox
A lightweight, portable dependency injection framework for .NET based solutions. -
Simplify.DI
A common interface for IOC containers. Decouples users and frameworks (that are based on Simplify.DI) from dependency on IOC containers. -
ServiceLayer
Design and Implement ServiceLayer that Integrated With FluentValidation -
AdaskoTheBeAsT.FluentValidation.SimpleInjector
FluentValidation extensions for SimpleInjector -
AdaskoTheBeAsT.AutoMapper.SimpleInjector
AutoMapper extensions for SimpleInjector
Scout APM - Leading-edge performance monitoring starting at $39/month
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Unity or a related project?
README
Overview
The Unity Container (Unity) is a full featured, extensible dependency injection container. It facilitates building loosely coupled applications and provides developers with the following advantages:
- Simplified object creation, especially for hierarchical object structures and dependencies
- Abstraction of requirements; this allows developers to specify dependencies at run time or in configuration and simplify management of crosscutting concerns
- Increased flexibility by deferring component configuration to the container
- Service location capability; this allows clients to store or cache the container
- Instance and type interception
- Registration by convention
Installation
Install Unity with the following command:
Install-Package Unity
Unity 5.x loosely follows Semantic Versioning — minor releases may introduce breaking changes. Floating version references should lock in the minor version in addition to the major version:
<PackageReference Include="Unity.Container" Version="5.x.*" />
Documentation
The documentation is a work in progress. Some info is available here but more is coming... Feel free to open issues in Documentation project with all the questions you would like to be covered or questions you might have.
New Features
Suggest new features or vote for the proposals you like, ADD your comments:
Packages & Status
Unity library consists of multiple packages. For information about each package please follow the links
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct
Contributing
See the Contributing guide for more information.
.NET Foundation
Unity Container is a .NET Foundation project.
*Note that all licence references and agreements mentioned in the Unity README section above
are relevant to that project's source code only.