Code Quality Rank: L4
Programming language: - - -
License: Apache License 2.0
Tags: Windows8     DI     IOC     Wp8     WinRT     Azure     Xamarin     Unity     Unity3     Unity35     EntLib     EntLib6     Container     Dependency     Injection     Inversion     Control     LOB     Win8     NetCore     WindowsStoreApps     WindowsStore     WindowsPhone     WindowsPhone8     MonoTouch     MonoAndroid     OSS    
Latest version: v5.11.6.966

Unity alternatives and similar packages

Based on the "IoC" category.
Alternatively, view Unity alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Unity or a related project?

Add another 'IoC' Package


Make Unity sustainable

The community support is crucial for the projects to survive and to move forward. Unity is all about trust and sharing. Open Collective lets finances to be managed so everyone can see where money comes from and where it goes. It was selected to provide mechanism for the community to support and finance the project.

If your project depends on Unity container and you want it to be maintained and developed, please support it. Remember, I can have only one full time job, so without proper financial backing there will be no more releases beyond v5.11

Become contributor to Unity project


The Unity Container (Unity) is a full featured, extensible dependency injection container. It facilitates building loosely coupled applications and provides developers with host of other useful features.


  • Due to a complete lack of interest from the community to support further development, several projects have been archived and will no longer be maintained. There will be no more releases of these libraries. If you have an opinion and would like to express it, please do so here.

  • Unity team is starting work on Unity v6 release. To track progress follow this project.

  • Starting May 2020 Unity Container is a .NET Foundation project.

See more announcements

Packages & Status

Unity library consists of multiple packages. For information about each package please follow the links

Package License Version Downloads
Unity (Composite) License NuGet NuGet
Unity.Abstractions License NuGet NuGet
Unity.Container License NuGet NuGet
Unity.Configuration License NuGet NuGet
Unity.Interception Archived NuGet NuGet
Unity.Interception.Configuration Archived NuGet NuGet
Unity.RegistrationByConvention Archived NuGet NuGet
Unity.log4net License NuGet NuGet
Unity.NLog License NuGet NuGet
Unity.Microsoft.Logging License NuGet NuGet
Unity.Microsoft.DependencyInjection License NuGet NuGet
Unity.AspNet.WebApi Archived NuGet NuGet
Unity.Mvc Archived NuGet NuGet
Unity.WCF License NuGet NuGet
Unity.ServiceLocation License NuGet NuGet
CommonServiceLocator License NuGet NuGet

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


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.