Ninject VS Simple Injector

Compare Ninject vs Simple Injector and see what are their differences.

Ninject

the ninja of .net dependency injectors (by ninject)

Simple Injector

An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success. (by simpleinjector)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Ninject Simple Injector
2 4
2,654 1,177
0.1% -
0.0 5.8
9 months ago 11 days ago
C# C#
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Ninject

Posts with mentions or reviews of Ninject. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Ninject yet.
Tracking mentions began in Dec 2020.

Simple Injector

Posts with mentions or reviews of Simple Injector. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.
  • Modular Dependency Injection in .NET
    2 projects | dev.to | 25 Mar 2024
    When I was building application with .NET Framework I always used libraries like Autofac and SimpleInjector for dependency injection. I really liked to create modules (Packages in SimpleInjector) to achieve higher cohesion and lower coupling in my class libraries. I made a module for every class library in which all dependencies inside of that class library were registered. Why should my web application (for example) know if MyBeautifulService in MyBeautifulClassLibrary should be transient or singleton?
  • Does anybody has a recommended resource about Dependency Injection?
    4 projects | /r/csharp | 7 Jul 2021
    My favorite DI container is LightInject. Very fast and has all the features that I need. Other good DI containers are Grace and SimpleInjector, IMO.

What are some alternatives?

When comparing Ninject and Simple Injector you can also consider the following projects:

Autofac - An addictive .NET IoC container

Microsoft.Extensions.DependencyInjection

Unity - This repository contains all relevant information about Unity Container suit

Castle Windsor - Castle Windsor is a best of breed, mature Inversion of Control container available for .NET

DryIoc - DryIoc is fast, small, full-featured IoC Container for .NET

LightInject - An ultra lightweight IoC container

Scrutor - Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection