Top "Ioc-container" questions

In object oriented languages, an inversion of control container (ioc-container) can be used for configuring and managing objects in an application.

Castle Windsor passing constructor parameters

I have an IAddress class with a few properties. I then have a concrete type that implements this interface. This …

dependency-injection inversion-of-control castle-windsor ioc-container
Spring ordered list of beans

I have several beans that implement the same interface. Each bean is annotated with @Component @Order(SORT_ORDER). public class …

java spring sorting spring-mvc ioc-container
Which IoC container is better with Prism.Forms

I am in the start of a new Prism.Forms project and I was wondering which of the various IoC …

xamarin.forms inversion-of-control ioc-container prism-6
IoC - Multiple implementations support for a single interface

I am wondering why .Net IoC containers do not easily support multiple implementations for a single interface! May be I …

c# inversion-of-control castle-windsor ioc-container
How to overwrite a component with castle windsor?

I want to redefine an (default) implementation in a given windsor-container. Is that what OverWrite is for? Doesn't work, though. …

inversion-of-control castle-windsor ioc-container castle
Validation: How to inject A Model State wrapper with Ninject?

I was looking at this tutorial http://asp-umb.neudesic.com/mvc/tutorials/validating-with-a-service-layer--cs on how to wrap my validation data …

c# asp.net-mvc-2 ioc-container ninject modelstate
NInject: Where do you keep your reference to the Kernel?

I'm using NInject on a new web application and there are two things that are unclear to me: Don't I …

c# dependency-injection inversion-of-control ioc-container ninject
Using DI container in unit tests

We've been using Simple Injector with good success, in a fairly substantial application. We've been using constructor injection for all …

c# unit-testing dependency-injection ioc-container simple-injector
Strategy Pattern and Dependency Injection using Unity

I am finally getting my feet wet with Dependency Injection (long overdue); I got started playing with Unity and run …

c# dependency-injection unity-container ioc-container strategy-pattern
Why is MVC4 using the Service Locator Anti-Pattern?

After reading "Dependency Injection in .NET" by Mark Seemann I stay away from the Service Locator which is an anti-pattern. …

dependency-injection ioc-container asp.net-mvc-4 service-locator