# unitycontainer/unity

This repository contains all relevant information about Unity Container suit

Repository: https://github.com/unitycontainer/unity
Canonical: https://ross.abutalabs.com/products/unitycontainer-unity
Homepage: http://unitycontainer.org/
License: Apache-2.0
License Family: permissive
Topics: unity, unity-container, interception, ioc, dependency-injection, microsoft-practices
Last push: 2024-01-21T22:10:51+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4093, "days_push": 955, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1693, forks 344 (observed 2026-08-28T04:05:22.781662+00:00)

## What it is
Unity Container is a full-featured, extensible dependency injection container for .NET applications, distributed as NuGet packages (Unity, Unity.Abstractions, Unity.Container). It supports simplified object creation, registration by convention, service location, and instance/type interception.

## Use cases
- resolve dependencies in .NET applications with an IoC container
- build loosely coupled applications with constructor or property injection
- register services by convention instead of manual registration
- add interception for crosscutting concerns like logging or caching
- defer component configuration to runtime or app configuration
- use a service locator pattern in legacy .NET codebases

## When to choose
- you maintain a .NET Framework or legacy .NET app already using Unity or Microsoft.Practices.Unity
- you need a mature DI container with interception support on .NET

## When to avoid
- starting a new modern .NET project where Microsoft.Extensions.DependencyInjection is the default
- you need a very lightweight or source-generated DI approach
- you expect frequent updates; the project is largely in maintenance mode

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware
- domain: developer-tools, backend
- platform: dotnet, cross-platform
- tags: dependency-injection, ioc-container, service-location, interception, dotnet, nuget

## Member repositories
- unitycontainer/unity (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.781662+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:12.072883+00:00, confidence not recorded.
  - readme: https://github.com/unitycontainer/unity (fetched 2026-08-28T04:05:22.781662+00:00, sha db57a5e4f8ac)
  - homepage: http://unitycontainer.org/ (fetched 2026-08-29T11:13:40.693396+00:00, sha 25cb334e25ab)
  - site_page: https://unitycontainer.org/making-of-lonely-mountains-downhill-interview-with-megagon-industries (fetched 2026-08-29T11:13:40.709637+00:00, sha 433f11b055de)
  - site_page: https://unitycontainer.org/making-of-lonely-mountains-downhill-how-to-pitch-to-a-publisher (fetched 2026-08-29T11:13:40.711552+00:00, sha ef5029b3f59b)
  - site_page: https://unitycontainer.org/reasons-to-develop-3d-browser-based-games (fetched 2026-08-29T11:13:40.703133+00:00, sha 6dd23520af00)
  - site_page: https://unitycontainer.org/dorfromantik-the-somewhat-different-city-builder (fetched 2026-08-29T11:13:40.705140+00:00, sha ec050ecea092)
  - site_page: https://unitycontainer.org/making-of-lonely-mountains-downhill-the-long-way-down (fetched 2026-08-29T11:13:40.707409+00:00, sha 27a6290dc931)
  - site_page: https://unitycontainer.org/suzerain-what-would-you-do-as-president (fetched 2026-08-29T11:13:40.713741+00:00, sha e1ab95895308)
  - site_page: https://unitycontainer.org/game-pre-production-deliverables-workflows-processes (fetched 2026-08-29T11:13:40.731599+00:00, sha 3409cf964ef3)
  - site_page: https://unitycontainer.org/video-game-pre-production-deliverables-prototypes-design (fetched 2026-08-29T11:13:40.733660+00:00, sha 13af2b71a928)
- Data as of 2026-08-30T08:39:29.467469+00:00.
