CHAPTER 6

Image

Essential Tools for MVC

In this chapter, we are going to look at three tools that should be part of every MVC programmer’s arsenal: a dependency injection (DI) container, a unit test framework, and a mocking tool.

We have picked three specific implementations of these tools for this book, but there are many alternatives for each type of tool. If you cannot get along with the ones we use, do not worry. There are so many out there, that you are certain to find something that suits the way your mind and workflow operate.

As we noted in Chapter 3, Ninject is our preferred DI container. It is simple, elegant, and easy to use. There are more-sophisticated ...

Get Pro ASP.NET MVC 4, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.