What is Dependency Injection and how it is useful in MVC?

 Posted by Chvrsri on 3/8/2016 | Category: ASP.NET MVC Interview questions | Views: 1083 | Points: 40
Answer:

The Dependency Injection is just like a Design pattern which is predominantly used for developing loosely coupled code.

Below are the different advantages that we get using DI

1) It improves code Maintainability
2) It improves code Re-Usability
3) It improves code Coupling
4) It improves application level testing too.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response