Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$10.68 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
Professional ASP.NET MVC 2 (Wrox Programmer to Programmer)
 
 
Start reading Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) on your Kindle in under a minute.

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

Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) [Paperback]

Jon Galloway (Author), Scott Hanselman (Author), Phil Haack (Author), Scott Guthrie (Author), Rob Conery (Author)
2.9 out of 5 stars  See all reviews (15 customer reviews)

List Price: $44.99
Price: $25.01 & this item ships for FREE with Super Saver Shipping. Details
You Save: $19.98 (44%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 7 left in stock--order soon (more on the way).
Want it delivered Monday, February 13? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $22.51  
Paperback $25.01  

Book Description

June 28, 2010 0470643188 978-0470643181 1
Top-selling MVC book from a top team at Microsoft—now fully updated!

ASP.NET MVC 2.0 is now available and shipping with Visual Studio 2010 and .NET 4. A new update to Microsoft’s Model-View-Controller technologies, MVC 2 enables developers to build dynamic, data-driven Web sites. Professional ASP.NET MVC 2 shows you step-by-step how to use MVC 2. You’ll learn both the theory behind MVC 2, as well as walk through practical tutorials, where you’ll create a real-world application. Topics include transitioning from ASP.NET development, as well as an overview of related tools and technologies, including LINQ, jQuery, and REST.

This book is divided into two very broad sections, each comprising several chapters.

The first half of the book is concerned with introducing the MVC pattern and how ASP.NET MVC 2 implements that pattern.

Chapter 1 "NerdDinner" uses a small but complete application to walk you through how to build an ASP.NET MVC 2 application and some of the core concepts behind ASP.NET 2 MVC. 

Chapter 2 "Model-View-Controller and ASP.NET" starts off with a description of the Model-View-Controller pattern, explaining the basic concepts of the pattern and providing a bit of its history. The chapter goes on to describe the state of the MVC pattern on the web today as it is implemented by various frameworks, such as ASP.NET MVC 2.

Chapter 3 "ASP.NET > ASP.NET MVC" then covers the ways that ASP.NET MVC is different from ASP.NET Web Forms.

Chapter 4 "Routes and URLs" digs deep into routing to describe the role that URLs play in your application and how routing figures into that. It also differentiates routing from URL rewriting and covers a bit on extending routing and writing unit tests for routes.

Chapter 5 "Controllers" takes a look at controllers and controller actions-what they are, and how to write them. It also covers action results, which are returned by controller actions and what they are used for.

Chapters 6 "Views" and 7 "Ajax" cover views and view engines, and then add a little flavor on top by examining the role that AJAX plays in your views.

The second half of the book focuses entirely on advanced techniques and extending the framework.

Chapter 8 "Filters" goes into detail on action filters, which provide an extensibility point for adding cross-cutting behaviors to action methods.

Chapter 9 "Securing Your Application" covers security and good practices for building a secure application.

Chapter 10 "Test Driven Development with ASP.NET MVC" provides a brief introduction to Test Driven Development (TDD) as it applies to ASP.NET MVC.

Chapter 11 "Testable Design Patterns" shows you real-world patterns and practices for building applications that are testable.

Chapter 12 "The Best of Both Worlds: Web Forms and MVC Together" discusses how Web Forms and MVC work together.

Chapter 13 "What's New in ASP.NET MVC 2" covers what's new in MVC 2.

This book is for web developers who are looking to add more complete testing to their web sites, and who are perhaps ready for "something different."

In some places, we assume that you're somewhat familiar with ASP.NET WebForms, at least peripherally. There are a lot of ASP.NET WebForms developers out there who are interested in ASP.NET MVC so there are a number of places in this book where we contrast the two technologies. Even if you're not already an ASP.NET developer, you might still find these sections interesting for context, as well as for your own edification as ASP.NET MVC may not be the web technology that you're looking for.

Check Out Related Media



Frequently Bought Together

Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) + Pro ASP.NET MVC 2 Framework (Expert's Voice in .NET) + jQuery in Action, Second Edition
Price For All Three: $87.46

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro ASP.NET MVC 2 Framework (Expert's Voice in .NET) $35.46

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • jQuery in Action, Second Edition $26.99

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

From the Back Cover

A comprehensive overview covering the new features of MVC 2

ASP.NET MVC 2, Microsoft's latest version of the successful web development framework, helps you create dynamic data-driven web sites; this book gives you an extra edge. Starting with Scott Guthrie's popular NerdDinner.com application, this book uses real-world examples to discuss the theory behind MVC 2: how to transition from ASP.NET Web Forms development, and how you benefit from advanced features. The author team scrutinizes MVC 2's new features and explains how MVC 2 relates to Visual Studio® and .NET versions.

Professional ASP.NET MVC 2:

  • Shows you how to create the database, build the Model, and work with Controllers and Views

  • Addresses authentication and authorization

  • Explores MVC 2 in relation to Ruby on Rails®, Django® and Python®, MonoRail, and others

  • Dissects views: what they do, what they shouldn't do, and how to specify a view

  • Explains how to share data between Web Forms and MVC

  • Points out the important changes between MVC 1.0 and MVC 2

  • Includes 2 weeks of Rob Conery's TekPub, expert screencasts on ASP.NET MVC 2, LINQ, ASP.NET 4, Entity Framework, jQuery, and more

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

wrox.comProgrammer Forums

Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads

Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More

Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

About the Author

Jon Galloway works at Microsoft and is part of the Server and Tools online group where he focuses on the ASP.NET community including the ASP.NET web site.

Phil Haack is a senior program manager on Microsoft's ASP.NET team.

Scott Hanselman is a senior program manager on Microsoft's ASP.NET team.

Scott Guthrie is corporate vice president of Microsoft's .NET Developer Division.

Rob Conery is an expert in ASP.NET and creator of SubSonic.


Product Details

  • Paperback: 552 pages
  • Publisher: Wrox; 1 edition (June 28, 2010)
  • Language: English
  • ISBN-10: 0470643188
  • ISBN-13: 978-0470643181
  • Product Dimensions: 9.2 x 7.4 x 1.1 inches
  • Shipping Weight: 2.1 pounds (View shipping rates and policies)
  • Average Customer Review: 2.9 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon Best Sellers Rank: #362,966 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

15 Reviews
5 star:
 (3)
4 star:
 (2)
3 star:
 (4)
2 star:
 (3)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
2.9 out of 5 stars (15 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

13 of 13 people found the following review helpful:
3.0 out of 5 stars Chock full of errata..., August 15, 2010
Amazon Verified Purchase(What's this?)
This review is from: Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) (Paperback)
Starting with the ViewModel section of chapter 1, there is plently of errata which leaves you wondering. This is confirmed on the books official forums filled with people asking for answers.

In short, the book tries to use "TryUpdateModel" which doesn't work because you aren't using the Dinner model any more, but rather the DinnerFormViewModel. You have to use one of the overloaded TryUpdateModel methods in order for it to work. You can visit the book's forums for more details.

There are also a lot of errors in the map section of chapter 1 -- mainly in the ids you have to select using jQuery (#Dinner_Address instead of #Address, for example). You also don't get the CSS to position the map correctly -- you must make your own css to float the map to the right and position it.

EDIT: More errata: The C# code for finding the nearest dinners within 100 miles is not present in the book or the downloadable code. You get the sql code. However, like another function that they give you, you need SQL and C#. You can get the C# code at the forums.

Overall, it's a good introduction; however, the various errata in the advanced topics of Chapter 1 leave me doubting the quality of the rest of the book. Given that the problems are fixable (if you are willing to try and understand what it doesn't tell you and visit the book's forums for help), I am giving the book three stars.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


10 of 11 people found the following review helpful:
2.0 out of 5 stars Wait for the corrected version, August 23, 2010
Amazon Verified Purchase(What's this?)
This review is from: Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) (Paperback)
The sample application code is filled with errors and omissions. You are better off waiting for the corrections to be addressed before spending your time on this book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
2.0 out of 5 stars Errata beginning to impede progress, September 23, 2010
This review is from: Professional ASP.NET MVC 2 (Wrox Programmer to Programmer) (Paperback)
I am about 90 pages into the book and the errors are already starting to impede my progress.
There is no official errata available. I would not recommend spending money on this book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)
(1)
(1)
(1)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject