Review of Steven Sanderson’s Pro ASP.NET MVC Framework book published by APress

Here’s the punchline for those who don’t like to read long reviews:

This book is a must read for anyone BEFORE getting started with the ASP.NET MVC Framework. It’s well written, well edited and covers everything from the basics all the way up to security and deployment. Finally, the point that sets this book apart from most other technical books is the tutorial included with the book; Steven Sanderson makes no compromises in the tutorial just to “dumb” it down for novices.  Using Test Driven Development (TDD), Dependency Injection (DI or IoC) and Unit Testing as well as basic Object Oriented (OO) principles like Don’t Repeat Yourself (DRY) and separation of concerns, the tutorial is a useful example of how to build a real life application for maintainability. They don’t teach even a tenth of this stuff in most technical courses.

The book is broken down into two parts – An introduction to ASP.NET MVC and a detailed look at ASP.NET MVC

The first two chapters start with Steven Sanderson gently holding your hand as he guides you towards creating your first ASP.NET MVC project. Quite a few technical books intended for novices and intermediate users struggle with presenting the information at the right pace. The author however, has mastered the pacing for presenting information. There’s always enough information to keep you going, yet he also goes deep into the matter at hand to explain how things work under the hood.

The third chapter is what sets this book apart in a lot of ways. The book goes into enough detail about automated testing, inversion of control and domain driven design and how they all fit together. More importantly, the book shows you just why these techniques are pragmatic approaches to create maintainable applications. The application presented in the next three chapters builds upon those techniques to show you how many modern thinking programmers build maintainable applications nowadays.

The rest of the book delves deep into the inner workings of ASP.NET MVC and covers a wide range of topics including routing, security, AJAX and deployment. After reading this book, you should know enough to start building robust, maintainable applications using ASP.NET MVC

If I sound like a huge fan of this book, it’s because I read a lot of technical books, but rarely do I find a book that’s so well written and more importantly strives to teach the reader how to build maintainable applications using modern techniques like Test Driven Development or Dependency Injection.

While almost flawless, there is a problem with this book. The people who seek out ASP.NET MVC on their own are people who have already worked with and been burnt by working with ASP.NET WebForms. These people are also usually people who know about and appreciate Domain Driven Design, Test Driven Development, Dependency Injection etc. This book isn’t going to magically convince beginners of the benefits of these techniques. Rather, this book is really targeted as an introduction to seasoned programmers who want a hands on and detailed introduction to ASP.NET MVC.

Respond to this post