# ninject/Ninject

the ninja of .net dependency injectors

Repository: https://github.com/ninject/Ninject
Canonical: https://ross.abutalabs.com/products/ninject
Homepage: http://ninject.org/
Language: C#
License: NOASSERTION
License Family: other
Last push: 2024-06-14T01:19:58+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": 6388, "days_push": 811, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2671, forks 517 (observed 2026-08-28T04:07:09.494198+00:00)

## What it is
Ninject is a lightweight, fast dependency injection framework for .NET applications. It uses a fluent, type-safe binding DSL to wire loosely-coupled components together without XML configuration.

## Use cases
- dependency injection for .net applications
- ioc container for c#
- decouple classes with constructor injection
- replace xml config with fluent bindings
- make .net code easier to unit test
- lightweight di container with small footprint

## When to choose
- you want a minimal, single-assembly DI container for .NET
- you prefer fluent, type-safe bindings over XML configuration
- you need fast resolution via lightweight code generation
- you target Mono or other .NET runtimes

## When to avoid
- you want the most actively developed .NET DI framework (Microsoft.Extensions.DependencyInjection is more standard)
- you need built-in integration with modern ASP.NET Core hosting out of the box
- you require extensive ecosystem extensions and long-term vendor support

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware, developer-tools
- domain: developer-tools, backend, cross-platform
- platform: dotnet, cross-platform
- tags: dependency-injection, ioc-container, fluent-api, c-sharp

## Member repositories
- ninject/Ninject (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.494198+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-30T02:18:08.612884+00:00, confidence not recorded.
  - readme: https://github.com/ninject/Ninject (fetched 2026-08-28T04:07:09.494198+00:00, sha 98515ac73ecd)
  - homepage: http://ninject.org/ (fetched 2026-08-29T10:00:43.684550+00:00, sha 819111c212f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
