Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Pro ASP.NET MVC 2 Framework (Expert's Voice in .NET) 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
Customers Who Bought This Item Also Bought
Top Customer Reviews
This is an outstanding book for the professional developer who is looking to become an expert on ASP.NET MVC, and who wants to seriously "raise their game" when it comes to software development in general. Steve Sanderson (the author) has a fantastic writing style that is easy to read, and which flows very naturally.
The first 212 pages of the book are mostly spent building two applications (a party invite application and a sports e-commerce store) literally starting with File->New Project and walking you step-by-step through their creation (explaining all of the code keystrokes, C# language features, and Visual Studio steps required along the way). These provide a great set of tutorials that can help you understand how ASP.NET MVC works and can be applied to build common web scenarios.
Sanderson's book avoids simply showing "the basic path" when it comes to building ASP.NET MVC applications, and instead takes the much bolder approach of teaching ASP.NET MVC in conjunction with Unit Testing, Test Driven Development (TDD), Dependency Injection, and Mocking. What makes the book so great is that he is able to make these concepts (which most books consider "advanced topics") straight forward to comprehend and grasp. He introduces them early, explains the concepts behind them quickly, and then does a masterful job of immediately showing how you can apply and use them pragmatically within ASP.NET MVC applications. The result is that they feel natural, you really "get" the concepts behind them, and you are left knowing the exact mechanics and steps necessary to take advantage of them within your own ASP.NET MVC applications.Read more ›
The book starts off giving you an overview of what MVC is, how it's different than Webforms and why it's better. It also does a brief comparison to other similar products like Ruby on Rails and MonoRail. The next five chapters are dedicated to building a simple RSVP form and an eCommerce store using MVC 2. It doesn't just give you a simple demo of MVC features but builds an actual working application that could be the beginnings of a real application. Building these applications gives you a great feeling for the language. But Mr. Sanderson isn't content with just teaching you MVC, he also wants to teach you many of the best practices in software development. He covers test-driven (TDD) and behavior-driven development(BDD). I love the ShouldEqual() extension method for simplifying an assert. He covers Nunit, Moq and Specflow (Gherkin BDD language interpreter). He talks about unit testing versus integration testing. He uses Linq to SQL for database integration and Ninject for Dependency Injection. While you can download all of the source code for the applications from the apress.com web site, I typed in all of the samples from the book. I can honestly say I haven't found one sample that didn't work as expected. The book also uses CSS to keep the HTML clean.Read more ›
So, all my comments below shouldn't dissuade you in any way from getting this book as soon as possible!
1. I read first version of this book after I went through Nerd Dinner tutorial. I think a "quicker-and-dirtier" example like Nerd Dinner would be helpful before you get into unit testing, dependency injection, and other advanced topics. Especially if your background is in WebForms! Unfortunately, Scott's team seem to have taken extended vacation after MVC2 and VS2010 went live in April. All the tutorials are still covering MVC1 (as of mid-July 2010).
2. Just like somebody else noted, I would prefer to use EF over LINQ to SQL. I understand author's arguments; I just disagree with them. Most developers are upgrading the tools very quickly (unlike OS or business applications the concern about backward compatibility just isn't there). There are a lot of issues that are at intersection of EF4 and MVC2 - having example that use both would be just awesome! More generally, I think there is too much concern (and space) dedicated to VS2008 issues.
3. Author chose Ninject for DI examples... It feels from conversations that I had that Castle Windsor is more popular.
4. It seems to me that every MVC project is using T4MVC (and for good reason... magic strings are EVIL). Would be nice to see it incorporated in the book!
5. As I said, this is one of the best (if not the best) books on the topic. Would be nice to have a forum where the readers can discuss some topics, help each other, and maybe make suggestions or enhancement requests. If such forum exists - I couldn't find it.
Most Recent Customer Reviews
If you are a beginner like me, then I recommend you this bookPublished 10 months ago by Manuel Ambulo
I didn't review this apparently when I bought it, but it is excellent and well worth the read for anyone working on MVC 2. Read morePublished 23 months ago by Ron Kincaid
There are lots of MVC books out there and this is a pretty good one. I'm not totally sold on MVC but if you find yourself using it to build an app and you need a primer, this is... Read morePublished on January 5, 2014 by dave
MVC is a paradigm shift for me, this book walks through the concepts and provides solid working examples.
I found the pace to be perfect. Read more
I appreciate this book in terms of the disciplined method of development utilized in teaching MVC. However as the author moves forward there are no references to or recommendations... Read morePublished on October 27, 2011 by Larry Boeldt
I have found this to be an excellent book not only to learn MVC, but also for ongoing reference even after gaining proficiency. Read morePublished on August 29, 2011 by Vasu
Very practical guide to programming in MVC. Any experienced developer will appreciate it since it talks about high level design also.Published on August 16, 2011 by Paurav Patel
Wow, Steve has been one of the biggest influences in my success with ASP.NET MVC. He has contributed so much to the community including his great blog, videos through TekPub... Read morePublished on July 15, 2011 by JBall