CHAPTER 6

image

Essential Tools for MVC

In this chapter, I am 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.

I 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 I 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 I noted in Chapter 3, Ninject is my preferred DI container. It is simple, elegant, and easy to use. There are more sophisticated ...

Get Pro ASP.NET MVC 5, Fifth 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.