Which Dependency Injection frameworks are best for ASP.NET MVC 4?
asp.net-mvc-4, c#, dependency-injection, inversion-of-control
Solution
Simple Injector definitely supports MVC4. They got a quick start package for MVC. It states that it's for MVC3, but it works just fine for MVC4 too.
I used it recently in a project and it works like a charm, I like it for it's simplicity. Don't expect tons of conventions and hidden configurations, you just have to create a container and register the dependencies explicitly.
Problem
I am new to Dependency Injection and working on a project developed in ASP.NET MVC 4. So, I came across with the use of Dependency Injection and curious to know which frameworks have good performance and support for ASP.NET MVC 4. I am creating a multi-layered architecture using Repository Pattern, UnitOfWork, and Service Layer as a business logic. So, I want dependency injection. I don't have much idea as of now on other requirements, I think it should support MVC 4. Proper Question : Which Dependency injection frameworks are best for ASP.NET MVC 4? I came across Simple Injector but somewhere it was mentioned that it does not support MVC 4.