# simpleinjector/SimpleInjector

An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.

Repository: https://github.com/simpleinjector/SimpleInjector
Canonical: https://ross.abutalabs.com/products/simpleinjector
Homepage: https://simpleinjector.org
Language: C#
License: MIT
License Family: permissive
Topics: dependency-injection, simpleinjector, c-sharp, ioc-container, di-container
Last push: 2026-08-24T18:08:37+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 78, longevity 100
- inputs: {"age_days": 4164, "days_push": 9, "days_rel": 66, "gap_med": 36.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1263, forks 151 (observed 2026-08-28T04:04:10.372035+00:00)

## What it is
Simple Injector is an easy, flexible, and fast Dependency Injection (DI) library for .NET, designed to promote best practices and steer developers toward the pit of success. It supports .NET 4.5+, .NET Core, .NET 5+, .NET Standard, UWP, Mono, and Xamarin, and integrates with frameworks like ASP.NET Core, MVC, and Web API.

## Use cases
- dependency injection for .NET applications
- ioc container for asp.net core
- manage loosely coupled components in c#
- decorator registration in a di container
- verify container configuration at startup
- di library for large scale enterprise .net projects

## When to choose
- you want a simple yet complete DI container with strong diagnostics and container verification
- you need advanced generic type support and decorator registration
- you need high performance and concurrent resolution
- you target .NET Framework, .NET Core/5+, or Xamarin/UWP

## When to avoid
- your framework already provides a built-in DI container and you only need basic registration
- you need a container with an extensive legacy plugin ecosystem tied to another library
- you are not developing on the .NET platform

## Facets
- artifact type: library
- maturity: stable
- function: middleware, developer-tools
- domain: backend, developer-tools, web-development
- platform: dotnet, cross-platform, windows
- tags: dependency-injection, ioc-container, di-container, c-sharp, soliddesign

## Member repositories
- simpleinjector/SimpleInjector (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:10.372035+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-30T05:04:11.068601+00:00, confidence not recorded.
  - readme: https://github.com/simpleinjector/SimpleInjector (fetched 2026-08-28T04:04:10.372035+00:00, sha ad4bced18803)
  - homepage: https://simpleinjector.org (fetched 2026-08-29T12:16:21.376615+00:00, sha bfcf0d30ca4c)
  - site_page: https://simpleinjector.org/documentation (fetched 2026-08-29T12:16:21.385868+00:00, sha ba28c6a5ed2e)
  - site_page: https://simpleinjector.org/quickstart (fetched 2026-08-29T12:16:21.387745+00:00, sha 3f46a2761ceb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
