What is Dependency injection? Importance in MVC?
What are the way to implement Dependency Injection in MVC?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shweta LodhaPosted Feb 2, 2014, 8:41 AM
http://www.codeproject.com/Articles/560798/ASP-NET-MVC-Controller-Dependency-Injection-for-Be
Shweta LodhaPosted Feb 2, 2014, 8:40 AM
Simple Injector 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. If you like simplicity and not expecting tons of conventions and hidden configurations, you just have to create a container and register the dependencies explicitly. Then this is one of the choice.