- Paperback: 552 pages
- Publisher: Wrox; 1 edition (June 28, 2010)
- Language: English
- ISBN-10: 0470643188
- ISBN-13: 978-0470643181
- Product Dimensions: 7.5 x 1.1 x 9.3 inches
- Shipping Weight: 2.1 pounds (View shipping rates and policies)
- Average Customer Review: 14 customer reviews
- Amazon Best Sellers Rank: #2,859,706 in Books (See Top 100 in Books)
To get the free app, enter your mobile phone number.
Professional ASP.NET MVC 2 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Customers who viewed this item also viewed
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.
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.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
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.
Top customer reviews
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.
After chapter 1, I pretty much read the entire book in a couple of days, and learned almost nothing. Truthfully, I'm being a little biased, as I was reading Apress's Pro ASP.NET MVC 3 book at the same time. The only reason I bought this book was to see the difference between MVC 2 and MVC 3. I could've just bought Apress's MVC 2 book, but I wanted a different perspective. Unfortunately, it wasn't a very good one. Outside the first chapter, I really can't recommend this book. Look elsewhere. Apress's MVC 3 book is leaps and bounds better than this book, and goes far, far, far, into more detail than this book. However, it is twice as long. Both books fall short in that, like every other book, they only provide the simplest examples. It would be nice to see a book start like this book, right out of the gate, with a simple full web site example (btw, Apress's book spends the middle of their book and a full example as well); teach you meaning behind the example in the 2nd part, and then in a final 3rd part of the book, build a very real, detailed, hard-core, full-fledge website by example, just to nail it all down.
Chapter 1 (which is 1/3 of the book) tries to talk you through creating the NerdDinner application, which would be great if you could do it from this book. However, there are so many errors and ommissions that trying to create the application is a long exercise in frustration; every step of the way leaves you experimenting or searching online because the code you just typed in didn't work (even once you feel you understand the concepts). It's enough to make you hate MVC, but keep in mind it's the instruction that's faulty, not the technology itself. Chapter 1, you get 1 star.
Also i found that they really explain very well all the concepts (Model,View and Controller).So my opinion is that if you want to get a real undestanding of what ASP.NET MVC is and don't mind searching codeplex or Wrox P2P forums for that matter, this book is all for you.
It's kind of ironic that the MVC gods advocate Unit Testing for MVC projects but yet they have books published that have not been tested.
The Wrox site has very little errata. The Wrox forums do offer help... but the readers should not be the ones finding and offering up errata. Go with Sandersons book.
Most recent customer reviews
There is no official errata available.Read more