Top "Simple-injector" questions

Simple Injector is an Dependency Injection library for Microsoft .NET, .NET Core, .NET Standard, Windows Phone, Windows Store Apps, and Mono.

Simple Injector unable to inject dependencies in Web API controllers

I am attempting to do some basic constructor DI with Simple Injector, and it seems that it is unable to …

c# asp.net-web-api dependency-injection simple-injector
Simple Injector - Make sure that the controller has a parameterless public constructor on production

I am stuck with a strange situation. I am following Onion Architecture and my architecture is something like this: 1-Core …

c# asp.net angularjs dependency-injection simple-injector
Nunit testing with Mock. Instance of Interface

I have the following (simplified) code. public class Controller { private readonly IService _service; public Controller(IService service) { _service = service; } public …

c# mocking nunit moq simple-injector
Constructor injection with Quartz.NET and Simple Injector

Currently I am writing a service using Quartz.NET to schedule the running of it. I was wondering if anyone …

c# .net dependency-injection quartz.net simple-injector
Get the container instance for Simple Injector

I am using Simple Injector with a ASP.NET MVC project. I added the SimpleInjector.Integration.Web.Mvc nuget package. …

c# asp.net-mvc dependency-injection simple-injector
Injection into Console Application with the Simple Injector

I am using Simple Injector for test purpose but pretty new on OOP. I am trying to create loosely couple …

c# dependency-injection simple-injector
Simple Injector vs Hiro vs Autofac

I'm new to DI and IoC and I'm trying to decide which IoC container to learn. I've seen several performance …

.net dependency-injection inversion-of-control autofac simple-injector
Registering a type with multiple constructors and string dependency in Simple Injector

I'm trying to figure out how to use Simple Injector, I've used it around the project with no problems registering …

c# dependency-injection inversion-of-control simple-injector constructor-injection
Using Simple Injector with SignalR

I thought using my own IoC would be pretty straight forward with SignalR and maybe it is; most likely I'm …

c# signalr simple-injector
Register multiple implementations with single interface

Is there a way to register a single interface which is implemented by more than one concrete class using [simple-injector] …

c# c#-4.0 dependency-injection simple-injector