Delve into the features, principles, and pillars of the ASP.NET MVC framework-deftly guided by Web development luminary Dino Esposito. ASP.NET MVC forces developers to think in terms of distinct components-model, view, controller-that make it easier to manage application complexity. Plunge into the framework's internal mechanics and gain a practical, what-why-how perspective behind each ASP.NET MVC building block. You'll understand how and when to use this programming model as an alternative to Web Forms-to gain full control of HTML, simplify testing and extensibility, and design better Web sites and experiences. As always, Esposito provides the detailed, insightful guidance and illustrative code samples you need to get productive quickly.
The Programming Paradigm
Chapter 1 Goals of ASP.NET MVC and Motivation for Its Development
The Deep Impact of ASP.NET
The ASP.NET Age of Reason
ASP.NET MVC at a Glance
Summary
Chapter 2 The Runtime Environment
The ASP.NET Runtime Machinery
The ASP.NET MVC Run-Time Shell
Summary
Chapter 3 The MVC Pattern and Beyond
The Original MVC Pattern
The Model2 Pattern
Presentation-Oriented Variations of MVC
The ASP.NET MVC Project Template
Summary
The Core of ASP.NET MVC
Chapter 4 Inside Controllers
The Role of Controllers and the Motivation for Using Them
Anatomy of an ASP.NET MVC Controller
Writing a Controller
Special Capabilities
Controllers and Testability
Summary
Chapter 5 Inside Views
Views and Controllers
Anatomy of an ASP.NET MVC View
Writing a View
Summary
Chapter 6 Inside Models
What's the Model, Anyway?
Domain Model and View-Model
Model Binding
Summary
Programming Features
Chapter 7 Data Entry in ASP.NET MVC
The Select-Edit-Save Pattern
Data Validation
Summary
Chapter 8 The ASP.NET MVC Infrastructure
Routing
Error Handling
Localization
Dependency Injection
Summary
Chapter 9 AJAX Capabilities
AJAX in ASP.NET
AJAX in ASP.NET MVC
Summary
Chapter 10 Testability and Unit Testing
Testability and Design
Basics of Unit Testing
Unit Testing in ASP.NET MVC
Summary
Chapter 11 Customizing ASP.NET MVC
The Controller Factory
Action Filters
Action Results and Rendering
Summary
Appendix ReSharper and the Power of Tools
IntelliSense Extensions
Static Analysis to Detect Missing Views and Actions
Dino Esposito is a well-known ASP.NET, AJAX, and Microsoft Silverlight® expert who has written or cowritten several popular books, including MICROSOFT ASP.NET AND AJAX: ARCHITECTING WEB APPLICATIONS and PROGRAMMING MICROSOFT ASP.NET 3.5. He is a regular contributor to MSDN® Magazine and speaks at industry events such as DevConnections and Microsoft TechEd.
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
The most advanced book on Asp.NET Mvc so far , though not to be recommended for a beginner but atleast if you understand the fundamentals of Asp.Net Mvc then this book is for you !!!
2/15/2011
(1 of 1 customers found this review helpful)
5.0
The best resource to teach ASP.NET MVC
By Chris
from Australia
About Me Developer
Pros
Accurate
Concise
Easy to understand
Well-written
Cons
Best Uses
Intermediate
Novice
Student
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
This is the best resource I've used so far to get my head around ASP.NET MVC.
Dino goes to great lengths to explain not only ASP.NET's MVC implementation, but also MVC in general and how it fits within other layers such as Data Access and Business Logic.
Happy customer.
11/17/2010
(1 of 1 customers found this review helpful)
4.0
Excellent source for understanding MVC 2
By Robert Tanenbaum
from New York, NY
About Me Designer, Developer
Pros
Easy to understand
Helpful examples
Well-written
Cons
Best Uses
Expert
Intermediate
Thorough study
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
This book is not a tutorial. While there is a lot of useful sample code, you won't find step by step instructions to create an MVC application. This book is also not a quick reference guide. While it is full of information, it is designed to be read and studied.
This book rates 4 stars for providing a thorough explanation of the features of ASP.Net MVC 2 and the programming philosophy behind it. The author goes beyond describing the various features, methods and architecture and gives the reasoning behind them. He not only describes HOW to do things, but gives very clear information about WHY you would want to do things in a particular way. The sections on customizing the built-in objects are extremely insightful.
Unfortunately, I had major problems trying to run the downloaded companion code under Visual Studio 2008 with .Net 3.5 framework. But that did not detract from the excellence of this book for learning to program Microsoft Asp.net MVC 2
9/21/2010
(2 of 2 customers found this review helpful)
4.0
MVC for Web Forms developers
By Ironiczny
from Poland
About Me Developer
Pros
Accurate
Concise
Well-written
Cons
Sometimes not deep enough
To few examples
Best Uses
Intermediate
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
First, a little background to put this review in correct perspective (who is writing this): 13 years as dev/strong business focus/freelancer/no previews MVC experience.I need a book to quick jump into MVC2 from Webforms - got proposition of project that should be implemented in MVC2), And I need to make decision if I take it.My opinion:This is book for Webforms developers (like me).Meet my expectations in around 80% - I was able to make decision (yes), but this book is not 'complete' MVC2 reference.What I liked generally:- Well written, you feel that Dino is experienced dev- Dino is old Webforms developer and almost through whole book gives comparisons how certain things are made in MVC vs. Webforms.What I liked in content:- first part about foundations (around 20% of book) Goals of MVC and ASP.NET Framework Runtime (as a foundation of MVC and Webforms), This gives me feeling when my Webforms/ASP.NET skills can be 'reused' in MVC world. This is the part that will not be obsolete so quick - as technology nuance change so fast - but good understanding of roots of technology is priceless.- second part - dive deep into MVC and its parts: controllers, views and models. Very good, detailed look at what MVC internals are and how they interact and complement each other. - chapter about Data Entry - very well written most practical part of book (day to day life of business apps developer).- third part was about the entire infrastructure you need to know to write real life apps: routing, error handling, localization, dependency injection and testing Well written, very informative.What disappointed me:- chapter about Customizing ASP.NET MVC - I wasn't able to write extensions just relaying on book content.- chapter about AJAX in MVC - just a starting point to understand how well MVC is suited for AJAX.- too few examples (but we have [...] for that :))
9/1/2010
(0 of 1 customers found this review helpful)
3.0
I'm losing the will to go on
By Mike
from Sweden
About Me Developer
Pros
Comprehensive
Cons
Doesn't stay on topic
Too basic
Too many side notes
Best Uses
Novice
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
I should start by saying I'm only about a third of the way through the book. One thing that is driving me crazy is how so far the book has been focusing on every topic except MVC. There's way too much discussion of ASP.NET Web Forms, MVP, MVVC, JSP, deficiencies in ASP.NET Web Forms, old MVC implementations; the list goes on. This may have been interesting stuff to put in the appendix for people who care, but I bought this book to get going with MVC, not to learn about a bunch of frankly irrelevant background topics. When I thought we were finally going to hear about MVC in Chapter 4, it only took about a page to start talking about ASP.NET Web Forms again.
I'm losing the will to go on. I'm eagerly awaiting a good O'Reilly book on MVC 2. It looks like there was one and then it got pulled out of publication or something.
7/29/2010
4.0
Very comprehensive and an easy read.
By Brian C.
from Salt Lake City, UT
About Me Developer
Pros
Accurate
Easy to understand
Well-written
Cons
Too many comments
Best Uses
Expert
Intermediate
Novice
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
This book is very comprehensive. If you have no knowledge of MVC or even if you are working with the original ASP.Net MVC framework you will gain a greater understanding of the benefits and drawbacks of MVC. One particular part of the book I enjoy was the detailed explanation of the different frameworks (MVC, PM, PVM, PVVM, Model1, Model2) and the comparison to the new MVC 2. This helped me better understand where I could benefit from the MVC 2 framework in some of my current and upcoming projects.
The completeness of the coverage of the new features is impressive. With this book being very technical it was a very easy read and even easier to understand the concepts that were being explained. I did feel like at times the notes and comments were out of control and at time seem to distract from the topic. I would of liked to see some of those comments integrated into the flow of the topic instead of isolated. Overall, this is a must book for all architects and highly recommend for those looking to gain a deeper understanding of the new MVC 2 framework.
6/22/2010
(0 of 1 customers found this review helpful)
2.0
Detailed, but lacking practical examples
By BluJai
from Columbia, TN
About Me Developer
Pros
Accurate
Verbose
Cons
Lacks examples
Lacks tutorials
Best Uses
Expert
Intermediate
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
I purchased this book hoping to get in-depth information about the inner-workings of ASP.NET MVC, which it includes. However, I also expected to get practical examples, such as those found in every O'Reilly "Programming *X*"-series book I've read. This book lacks sorely in that arena.
Unfortunately, the book also lacks (at least, as of my purchase date) a full Google preview, which prevented recognizing the example deficiency mentioned in the first paragraph.
All the above being said, if you want to read about the "theory" and behind-the-scenes workings of ASP.NET MVC, this is a valuable book. However, if you are unfamiliar with ASP.NET MVC and want to see practical use cases, examples or tutorials, you will be disappointed.
The writing and editing are well executed, as usual in an O'Reilly book.
4/27/2010
(1 of 5 customers found this review helpful)
4.0
Waiting for this issue!
By softwarer
from Austin, TX
About Me Developer
Pros
Helpful examples
Cons
Best Uses
Expert
Comments about Microsoft Press Programming Microsoft® ASP.NET MVC:
My friend, software developer from [@] considers Dino the best specialist in .NET architecture. Personally, I want to read this upcoming book to make sure that ASP.NET technology will survive.
Merchant response: Hello Mike,
Thank you for your review of Programming Microsoft® ASP.NET MVC. I'm sorry you were disappoint with this book. We are happy to offer you a full refund, though. If you would like a refund, please call our customer service line at (800) 889-8969 so that one of our representatives may assist you.
Kind regards,
Sophia
O'Reilly Media