August 2011
Intermediate to advanced
432 pages
11h 35m
English
Chapter 11
Dependency Injection
What's In This Chapter?
ASP.NET MVC 3 has introduced a new concept called a dependency resolver, which dramatically improves the ability of an application to participate in dependency injection for both services consumed by MVC and commonly created classes like controllers and view pages.
To understand how the dependency resolver works, we first need to define some of the common software patterns that it uses. If you're already familiar with patterns like service location and dependency injection, you may want to skim or skip the next section and go directly to the section titled “Using the Dependency Resolver.”
Read now
Unlock full access