Language

Dependency Injection

In this chapter, you'll learn:
How to integrate a Dependency Injection (DI) framework into ASP.NET MVC for testing and other purposes.

  1. TDD and Dependency Injection

    Phil Haack provides a walkthrough of how to build a web application in a test-driven manner while also showing a way to integrate a Dependency Injection (DI) Framework into an ASP.NET MVC application.

  2. ASP.NET MVC 3 Dependency Injection

    This hands-on lab explains Inversion of Control (IoC) and takes you through the Dependency Injection (DI) design pattern.

  3. ASP.NET MVC Content Map

    See "Dependency Injection in ASP.NET MVC applications" in the ASP.NET MVC Content Map.

ASP.NET MVC Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET MVC 4

Pro ASP.NET MVC 4

by Adam Freeman

Professional ASP.NET MVC 4

Professional ASP.NET MVC 4

by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen