Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player

FREE Shipping on orders over $35.

Used - Good | See details
Sold by Prime1.
Have one to sell? Sell yours here
Start reading Pro ASP.NET MVC 2 Framework (Expert's Voice in .NET) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pro ASP.NET MVC 2 Framework (Expert's Voice in .NET) [Paperback]

by Steven Sanderson
4.7 out of 5 stars  See all reviews (44 customer reviews)

Available from these sellers.

Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $25.07  
Paperback --  
Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more
There is a newer edition of this item:
Pro ASP.NET MVC 4 Pro ASP.NET MVC 4 4.2 out of 5 stars (103)
In Stock.

Book Description

June 29, 2010 1430228865 978-1430228868 2

Author Steven Sanderson has seen the ASP.NET MVC Framework mature from the start, so his experience, combined with comprehensive coverage of all the new features, including those in the official MVC development toolkit, offers the clearest understanding of how this exciting new framework can improve your coding efficiency. With this book, you’ll gain invaluable up-to-date knowledge of security, deployment, and interoperability challenges.

The ASP.NET MVC 2 Framework introduces a radical high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET 3.5.

In this book, the core model-view-controller (MVC) architectural concepts are not simply explained or discussed in isolation, but are demonstrated in action. You’ll work through an extended tutorial to create a working e-commerce web application that combines ASP.NET MVC with C# language features and unit-testing best practices. By gaining this invaluable, practical experience, you’ll discover MVC’s strengths and weaknesses for yourself—and put your best-learned theory into practice.

What you’ll learn

  • Gain a solid architectural background to ASP.NET MVC 2, including MVC and REST concepts.
  • Explore the entire ASP.NET MVC Framework and take a detailed look at the official MVC development toolkit.
  • See how it works with test-driven development in action.
  • Capitalize on your existing knowledge quickly and easily through translation and comparison of features in classic ASP.NET to those in ASP.NET MVC.
  • Learn about the latest security and deployment issues, including IIS 7.0.

Who this book is for

This book is for web developers with a basic knowledge of ASP.NET and C# who want (or need) to start using the ASP.NET MVC 2 Framework.

Table of Contents

  1. What’s the Big Idea? 
  2. Your First ASP.NET MVC Application 
  3. Prerequisites  
  4. SportsStore: A Real Application 
  5. SportsStore: Navigation and Shopping Cart  
  6. SportsStore: Administration and Final Enhancements  
  7. Overview of ASP.NET MVC Projects 
  8. URLs and Routing 
  9. Controllers and Actions 
  10. Controller Extensibility  
  12. Models and Data Entry 
  13. User Interface Techniques  
  14. Ajax and Client Scripting  
  15. Security and Vulnerability 
  16. Deployment 
  17. ASP.NET Platform Features 
  18. Upgrading and Combining ASP.NET Technologies

Editorial Reviews

About the Author

After a childhood spent at the computer, Steven Sanderson started web development in 1996, first using Perl and later adopting PHP. His last five years of professional experience have focused on ASP.NET, learning what works and what works better, and experiencing a developer's life everywhere from an investment bank to a five-person Internet startup. Steven has led Red Gate's web development team, and spends his free time blogging and keeping up to speed with the latest technology developments. He's followed the ASP.NET MVC framework since its inception and frequently participates in online discussions with its core developers at Microsoft.

Product Details

  • Series: Expert's Voice in .NET
  • Paperback: 776 pages
  • Publisher: Apress; 2 edition (June 29, 2010)
  • Language: English
  • ISBN-10: 1430228865
  • ISBN-13: 978-1430228868
  • Product Dimensions: 9.3 x 7.5 x 1.7 inches
  • Shipping Weight: 2.9 pounds
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (44 customer reviews)
  • Amazon Best Sellers Rank: #704,978 in Books (See Top 100 in Books)

Customer Reviews

Most Helpful Customer Reviews
93 of 96 people found the following review helpful
5.0 out of 5 stars Fantastic Book July 12, 2010
Format:Paperback|Verified Purchase
Every now and then you read a software development book that absolutely takes your breath away. This is one of those books.

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 ›
Was this review helpful to you?
18 of 18 people found the following review helpful
5.0 out of 5 stars Excellent book for learning ASP.NET MVC 2 July 13, 2010
Format:Paperback|Verified Purchase
I see Scott Guthrie has already recommended the book and gave it five stars. What other recommendation do you need? You should purchase this book! In case you want additional validation to purchase this book, here is my review. I have been an ASP.NET Webform developer since the first release. I have been listening to the buzz at conferences and in Scott Guthrie's blogs about ASP.NET MVC and more recently MVC 2 and wanted to start my education so I purchased this book. This book is an excellent book for learning MVC 2.

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 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 ›
Comment | 
Was this review helpful to you?
11 of 12 people found the following review helpful
5.0 out of 5 stars Absolutely must-read July 18, 2010
Scott Guthrie wrote a review with enthusiastic recommendation - so I realize that anything I add isn't going to be that helpful :) The first version of the book was my favorite on MVC1, and I couldn't wait to get MVC2 version. And it didn't disappoint!

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.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Old but good
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 more
Published 2 months ago by Ron Kincaid
4.0 out of 5 stars Pretty good book for MVC2 programmers
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 more
Published 3 months ago by dave
5.0 out of 5 stars Great MVC resource
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
Published 12 months ago by MEB
4.0 out of 5 stars Assumes a lot of prior knowledge
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 more
Published on October 27, 2011 by Larry Boeldt
5.0 out of 5 stars Excellent, complete book, clear presentation of concepts
I have found this to be an excellent book not only to learn MVC, but also for ongoing reference even after gaining proficiency. Read more
Published on August 29, 2011 by Vasu
5.0 out of 5 stars Great Book
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
5.0 out of 5 stars Steve is a selfless MVC expert
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 more
Published on July 15, 2011 by JBall
5.0 out of 5 stars From a VB person
I've been a BASIC and VB programmer from way back and into ASP and ASP.NET as well with web forms, but never got much into the Object Oriented and/or C languages. Read more
Published on July 3, 2011 by GREGORY A THOMSON
5.0 out of 5 stars Great book
This book will teach you everything you need to learn ASP.NET. EVERYTHING. And with really clear examples and step by step excersises. Read more
Published on June 18, 2011 by HART
5.0 out of 5 stars Fantastic.
This is one of the best framework guides I've read. It starts off with a few chapters on building a sample e-commerce app and then goes into very good detail in the later chapters... Read more
Published on June 15, 2011 by David
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Topic From this Discussion
Why V2?
I'm currently doing development using ASP.NET MVC 2. Even though it's a new version of the framework, it only improves upon whats in the original version. Most of the stuff that you'd read in a V1 book would useful in V2. I'd recommend going with a V1 book if you are new to the framework. 98% of... Read more
Feb 15, 2010 by Brian E. Engel |  See all 4 posts
Have something you'd like to share about this product?
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for Similar Items by Category