I found an excellent article that explains why Dependency Injection (DI) can be so helpful, especially when you write .NET Applications using MVC. With DI we can enforce Single Responsibility principle, perform BDD (Behavior driven development), develop testable code,write Automated Unit test cases and enforce good design practices.
Read the full post here to understand why Dependency injection can be so helpful:
http://www.mikesdotnetting.com/article/285/asp-net-5-dependency-injection-and-services-in-mvc
Read the full post here to understand why Dependency injection can be so helpful:
http://www.mikesdotnetting.com/article/285/asp-net-5-dependency-injection-and-services-in-mvc