Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 31253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:34:32+00:00 2026-05-10T13:34:32+00:00

Which C#/.NET Dependency Injection frameworks are worth looking into? And what can you say

  • 0

Which C#/.NET Dependency Injection frameworks are worth looking into? And what can you say about their complexity and speed.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:34:33+00:00Added an answer on May 10, 2026 at 1:34 pm

    edit (not by the author): There is a comprehensive list of IoC frameworks available at https://github.com/quozd/awesome-dotnet/blob/master/README.md#ioc:

    • Castle Windsor – Castle Windsor is best of breed, mature Inversion of Control container available for .NET and Silverlight
    • Unity – Lightweight extensible dependency injection container with support for constructor, property, and method call injection
    • Autofac – An addictive .NET IoC container
    • DryIoc – Simple, fast all fully featured IoC container.
    • Ninject – The ninja of .NET dependency injectors
    • Spring.Net – Spring.NET is an open source application framework that makes building enterprise .NET applications easier
    • Lamar – A fast IoC container heavily optimized for usage within ASP.NET Core and other .NET server side applications.
    • LightInject – A ultra lightweight IoC container
    • Simple Injector – Simple Injector is an easy-to-use Dependency Injection (DI) library for .NET 4+ that supports Silverlight 4+, Windows Phone 8, Windows 8 including Universal apps and Mono.
    • Microsoft.Extensions.DependencyInjection – The default IoC container for ASP.NET Core applications.
    • Scrutor – Assembly scanning extensions for Microsoft.Extensions.DependencyInjection.
    • VS MEF – Managed Extensibility Framework (MEF) implementation used by Visual Studio.
    • TinyIoC – An easy to use, hassle free, Inversion of Control Container for small projects, libraries and beginners alike.
    • Stashbox – A lightweight, fast and portable dependency injection framework for .NET based solutions.

    Original answer follows.


    I suppose I might be being a bit picky here but it’s important to note that DI (Dependency Injection) is a programming pattern and is facilitated by, but does not require, an IoC (Inversion of Control) framework. IoC frameworks just make DI much easier and they provide a host of other benefits over and above DI.

    That being said, I’m sure that’s what you were asking. About IoC Frameworks; I used to use Spring.Net and CastleWindsor a lot, but the real pain in the behind was all that pesky XML config you had to write! They’re pretty much all moving this way now, so I have been using StructureMap for the last year or so, and since it has moved to a fluent config using strongly typed generics and a registry, my pain barrier in using IoC has dropped to below zero! I get an absolute kick out of knowing now that my IoC config is checked at compile-time (for the most part) and I have had nothing but joy with StructureMap and its speed. I won’t say that the others were slow at runtime, but they were more difficult for me to setup and frustration often won the day.

    Update

    I’ve been using Ninject on my latest project and it has been an absolute pleasure to use. Words fail me a bit here, but (as we say in the UK) this framework is ‘the Dogs’. I would highly recommend it for any green fields projects where you want to be up and running quickly. I got all I needed from a fantastic set of Ninject screencasts by Justin Etheredge. I can’t see that retro-fitting Ninject into existing code being a problem at all, but then the same could be said of StructureMap in my experience. It’ll be a tough choice going forward between those two, but I’d rather have competition than stagnation and there’s a decent amount of healthy competition out there.

    Other IoC screencasts can also be found here on Dimecasts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 68k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer There are no explicit page breaks in RTF files, unless… May 11, 2026 at 12:25 pm
  • added an answer You should definitely use the FindAll method, or the equivalent… May 11, 2026 at 12:25 pm
  • added an answer public static int ExcelColumnNameToNumber(string columnName) { if (string.IsNullOrEmpty(columnName)) throw new… May 11, 2026 at 12:25 pm

Related Questions

I'm looking at working on a project which uses C#.NET (sitting on a windows
I have a method in .NET (C#) which returns string[][] . When using RegAsm
So we are building an application with a UI Layer (web, mobile, Ajax client,
Any suggestions for good open source asp.net (C#) apps out there which meet as

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.