Inversion of control

201
Why do I need an IoC container as opposed to straightforward DI code?
I've been using Dependency Injection (DI) for a while, injecting either in a constructor, property, or method. I've never felt a need to use an... Vadim
70
What is Inversion of Control?
Inversion of Control (or IoC) can be quite confusing when it is first encountered. What is it? What problems does it solve? When is it appropriate... Wolfbyte
52
Which .NET Dependency Injection frameworks are worth looking into?
Which C#/.NET Dependency Injection frameworks are worth looking into? And what can you say about their complexity and speed. pbreault
35
Must Dependency Injection come at the expense of Encapsulation?
If I understand correctly, the typical mechanism for Dependency Injection is to inject either through a class' constructor or through a public... urig
24
Dependency injection through constructors or property setters?
Hi, I hope this isn't a duplicate. I did a search but there are a lot of dependency injection posts and I couldn't find any needles in the... Niall Connaughton
24
What is Castle Windsor, and why should I care?
I'm a long-time Windows developer, having cut my teeth on win32 and early COM. I've been working with .Net since 2001, so I'm pretty fluent in C#... David Hill
23
Which single IoC/DI container would you recommend using and why?
I'm asking this question because it's a good way to gauge how the community at large feels about the various containers/frameworks and why. Also,... RobertTheGrey
21
Difference between Dependency Injection (DI) & Inversion of Control (IOC)
I've been seeing a lot of references Dependency Injection (DI) & Inversion of Control (IOC), but I don't really know if there is a difference... Elijah Manor
20
MEF vs. any IoC
Looking at Microsoft's Managed Extensibility Framework (MEF) and various IoC containers (such as Unity), I am failing to see when to use one type of... PureCognition
20
Enterprise Library Unity vs Other IoC Containers
Hi, What's pros and cons of using Enterprise Library Unity between other IoC (Windsor ..) Yoann. B
18
Dependency Inject (DI) "friendly" library
I'm pondering the design of a C# library, that will have several different high level functions. Of course, those high-level functions will be... Pete
17
how to implement IOC without a global static service (non-service locator solution)?
Hi, we want to use Unity for IOC. All i've seen is the implementation that there is one global static service (let's call it the the IOCService)... Michel
17
How to use Castle Windsor with ASP.Net web forms?
I am trying to wire up dependency injection with Windsor to standard asp.net web forms. I think I have achieved this using a HttpModule and a... Xian
16
How to explain Dependency Injection to a 5-year old
Hello there, Could anybody point out a good dependency injection tutorial? I found a ton on Google but none of them that would assume the reader is a... anon
15
Why is IoC / DI not common in Python?
In Java IoC / DI is a very common practice which is extensively used in web applications, nearly all available frameworks and Java EE. On the other... tux21b
15
How to avoid anemic domain models, or when to move methods from the entities into services
I have a common scenario that I am looking for some guidance from people more experienced with DDD and Domain Modeling in general. Say I start out... Matt Hidinger
14
Is this a problem typically solved with IOC?
My current application allows users to define custom web forms through a set of admin screens. it's essentially an EAV type application. As such, I... Dirk
14
What should I consider when choosing a dependency injection framework for .NET
see also Which C#/.NET Dependency Injection frameworks are worth looking into? There are now many dependency injection frameworks to choose... Ian Ringrose
14
Castle Windsor Are There Any Downsides?
I have been looking into the castle project and specifically windsor. I have been so impressed with what is possible with this technology and the... Blounty
13
IoC and ASP.NET MVC, where does it all begin?
I see "IoC" and "DI" mentioned pretty much everywhere for ASP.NET MVC. While I'm well aware of ... 'kind of' what these are, it's one of those almost... Stacey
13
Which patterns for loose coupling do you use most?
Lately I have seen a lot of blog posts concerning how to build loosely coupled applications. Which patterns do you use most when creating loosely... Fossmo
13
Is Dependency Injection possible with a WPF appliction?
I want to start using dependency injection in my WPF application, largely for better unit testability. My app is mostly constructed along the M-V-VM... Scott Weinstein
13
Dependency Injection book recommendation(s)
It seems like there are very few books (yes, I read books) on Dependency Injection. The Amazon tag for "dependency injection" lists only a few... Portman
13
Which Dependency Injection Tool Should I Use?
I am thinking about using Microsoft Unity for my Dependency Injection tool in our User Interface. Our Middle Tier already uses Castle Windsor, but I... Elijah Manor
13
MEF (Managed Extensibility Framework) vs IoC/DI
What problems does MEF (Managed Extensibility Framework) solves that cannot be solved by existing IoC/DI containers? alex
13
IoC Explain and more important when to use it?
I am designing a new system and I want to know IoC and more important when to use it. Does it have to be implemented with interfaces or can be done... Jedi Master Spooky
12
Is Dependency Injection a pattern and, is this it?
I was having a heated debate with one of my colleagues on dependency injection, and realized I didn't quite know all the facts on the subject. So,... andy
12
What is the Best Way to Organize a ASP.Net MVC Solution Using Dependency Injection?
I am early in development on a new ASP.Net MVC project and I using this project to get into DI. I'm pretty sure that I am going to go with Structure... KevDog
12
Usage of IoC Containers; specifically Windsor
I think the answer to this question is so obivous that noone has bothered writing about this, but its late and I really can't get my head around... Andrew Bullock
11
Inversion of Control & Dependency Injection in the .NET Framework
Is there any specific example/instance of DI being applied as an architectural principle or design pattern in the .NET Framework itself? Do any (or... Shankar Ramachandran
 
0.317375898361