Simple Injector VS Microsoft.Extensions.DependencyInjection

Compare Simple Injector vs Microsoft.Extensions.DependencyInjection and see what are their differences.

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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Simple Injector Microsoft.Extensions.DependencyInjection
4 0
1,177 859
- -
5.8 0.0
11 days ago -
C# C#
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.

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.

Microsoft.Extensions.DependencyInjection

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

We haven't tracked posts mentioning Microsoft.Extensions.DependencyInjection yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing Simple Injector and Microsoft.Extensions.DependencyInjection you can also consider the following projects:

Autofac - An addictive .NET IoC container

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

Ninject - the ninja of .net dependency injectors

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

Lamar - Fast Inversion of Control Tool and Successor to StructureMap

VS MEF - Managed Extensibility Framework (MEF) implementation used by Visual Studio

StructureMap - A Dependency Injection/Inversion of Control tool for .NET