Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unitycontainer/unity
This repository contains all relevant information about Unity Container suit
https://github.com/unitycontainer/unity
dependency-injection interception ioc microsoft-practices unity unity-container
Last synced: 3 days ago
JSON representation
This repository contains all relevant information about Unity Container suit
- Host: GitHub
- URL: https://github.com/unitycontainer/unity
- Owner: unitycontainer
- License: apache-2.0
- Created: 2015-06-19T17:27:07.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T22:10:51.000Z (about 1 year ago)
- Last Synced: 2025-02-08T16:00:43.213Z (10 days ago)
- Topics: dependency-injection, interception, ioc, microsoft-practices, unity, unity-container
- Homepage: http://unitycontainer.org/
- Size: 3.75 MB
- Stars: 1,669
- Watchers: 157
- Forks: 352
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - unity - (C#)
- awesome-dotnet-core - Unity - 轻量级,可扩展的依赖项注入容器。 (框架, 库和工具 / 控制反转IOC)
- fucking-awesome-dotnet-core - Unity - A lightweight, extensible dependency injection container. (Frameworks, Libraries and Tools / IOC)
- awesome-dotnet-core - Unity - A lightweight, extensible dependency injection container. (Frameworks, Libraries and Tools / IOC)
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:
```shell
Install-Package Unity
```Unity 5.x loosely follows Semantic Versioning — minor releases may introduce breaking changes. [Floating version references](https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#floating-versions) should lock in the minor version in addition to the major version:
```xml
```
## [Documentation](https://unitycontainer.github.io)
The documentation is a work in progress. Some info is available [here](https://unitycontainer.github.io) but more is coming...
Feel free to [open issues](https://github.com/unitycontainer/documentation/issues) in [Documentation](https://github.com/unitycontainer/documentation) project with all the questions you would like to be covered or questions you might have.## Packages & Status
Unity library consists of multiple packages. For information about each package please follow the links
---
Package | License | Version | Downloads
-------- | :------------ | :------------ | :------------
Unity (Composite) | [](https://github.com/unitycontainer/unity/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity) | [](https://www.nuget.org/packages/Unity)
[Unity.Abstractions](https://github.com/unitycontainer/abstractions) | [](https://github.com/unitycontainer/abstractions/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Abstractions) | [](https://www.nuget.org/packages/Unity.Abstractions)
[Unity.Container](https://github.com/unitycontainer/container) | [](https://github.com/unitycontainer/container/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Container) | [](https://www.nuget.org/packages/Unity.Container)
[Unity.Configuration](https://github.com/unitycontainer/configuration) | [](https://github.com/unitycontainer/configuration/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Configuration) | [](https://www.nuget.org/packages/Unity.Configuration)
[Unity.Interception](https://github.com/unitycontainer/interception) | [](https://github.com/unitycontainer/interception/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Interception) | [](https://www.nuget.org/packages/Unity.Interception)
[Unity.Interception.Configuration](https://github.com/unitycontainer/interception-configuration) | [](https://github.com/unitycontainer/interception-configuration/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Interception.Configuration) | [](https://www.nuget.org/packages/Unity.Interception.Configuration)
[Unity.RegistrationByConvention](https://github.com/unitycontainer/registration-by-convention) | [](https://github.com/unitycontainer/registration-by-convention/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.RegistrationByConvention) | [](https://www.nuget.org/packages/Unity.RegistrationByConvention)
[Unity.log4net](https://github.com/unitycontainer/log4net) | [](https://github.com/unitycontainer/log4net/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.log4net) | [](https://www.nuget.org/packages/Unity.log4net)
[Unity.NLog](https://github.com/unitycontainer/NLog) | [](https://github.com/unitycontainer/NLog/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.NLog) | [](https://www.nuget.org/packages/Unity.NLog)
[Unity.Microsoft.Logging](https://github.com/unitycontainer/microsoft-logging) | [](https://github.com/unitycontainer/microsoft-logging/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Microsoft.Logging) | [](https://www.nuget.org/packages/Unity.Microsoft.Logging)
[Unity.Microsoft.DependencyInjection](https://github.com/unitycontainer/microsoft-dependency-injection) | [](https://github.com/unitycontainer/microsoft-dependency-injection/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Microsoft.DependencyInjection)| [](https://www.nuget.org/packages/Unity.Microsoft.DependencyInjection)
[Unity.AspNet.WebApi](https://github.com/unitycontainer/aspnet-webapi) | [](https://github.com/unitycontainer/aspnet-webapi/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.AspNet.WebApi) | [](https://www.nuget.org/packages/Unity.AspNet.WebApi)
[Unity.Mvc](https://github.com/unitycontainer/aspnet-mvc) | [](https://github.com/unitycontainer/aspnet-mvc/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.Mvc) | [](https://www.nuget.org/packages/Unity.Mvc)
[Unity.WCF](https://github.com/unitycontainer/wcf) | [](https://github.com/unitycontainer/wcf/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.wcf) | [](https://www.nuget.org/packages/Unity.wcf)
[Unity.ServiceLocation](https://github.com/unitycontainer/service-location) | [](https://github.com/unitycontainer/service-location/blob/master/LICENSE) | [](https://www.nuget.org/packages/Unity.ServiceLocation) | [](https://www.nuget.org/packages/Unity.ServiceLocation)
[CommonServiceLocator](https://github.com/unitycontainer/commonservicelocator) | [](https://github.com/unitycontainer/commonservicelocator/blob/master/LICENSE) | [](https://www.nuget.org/packages/CommonServiceLocator) | [](https://www.nuget.org/packages/CommonServiceLocator)## Code of Conduct
This project has adopted the code of conduct defined by the [Contributor Covenant](https://www.contributor-covenant.org/) to clarify expected behavior in our community. For more information, see the [.NET Foundation Code of Conduct](https://www.dotnetfoundation.org/code-of-conduct)
## Contributing
See the [Contributing guide](https://github.com/unitycontainer/unity/blob/master/CONTRIBUTING.md) for more information.
## .NET Foundation
Unity Container is a [.NET Foundation](https://dotnetfoundation.org/projects/unitycontainer) project.