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.

Autofac None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'

None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'LMS.Services.Security.EncryptionService' can be invoked …

c# dependency-injection inversion-of-control autofac ioc-container
Self injection with Spring

I tried the following code with Spring 3.x which failed with BeanNotFoundException and it should according to the answers of …

java spring dependency-injection ioc-container
How to registerType with a PARAMETER constructor?

How do I registertype with the container where the type doesn't have NO PARAMETER constructor. In fact my constructor accepts …

dependency-injection unity-container ioc-container
MVC, EF - DataContext singleton instance Per-Web-Request in Unity

I have a MVC 3 web application, where I am using the Entity Framework for the data access. Furthermore, I have …

asp.net-mvc-3 entity-framework unity-container ioc-container
Laravel: Difference App::bind and App::singleton

I get a bit confused over all the nice things laravel has to offer in terms of the IOC container …

php oop laravel-4 ioc-container facade
Inject Generic Implementation using Guice

I would like to be able to inject a generic implementation of a generic interface using Guice. public interface Repository&…

java ioc-container guice typeliteral
Comparing Castle Windsor, Unity and StructureMap

In a follow up to Krzysztof’s statement that Windsor does a lot more than other IoC’s, I wanted …

dependency-injection castle-windsor structuremap unity-container ioc-container
Microsoft Unity. How to specify a certain parameter in constructor?

I'm using Microsoft Unity. I have an interface ICustomerService and its implementation CustomerService. I can register them for the Unity …

c# asp.net unity-container ioc-container
How to remove(unregister) registered instance from Unity mapping?

I meet one problem that i can't solve now. I have the following: UnityHelper.DefaultContainer.RegisterInstance(typeof(IMyInterface), "test", instance); …

c# unity-container ioc-container instance registering
How to inject dependency property using Ioc Unity

I have the following classes: public interface IServiceA { string MethodA1(); } public interface IServiceB { string MethodB1(); } public class ServiceA : IServiceA { public …

c# inversion-of-control unity-container ioc-container property-injection