Pro ASP.NET MVC 4

Front Cover
Apress, Dec 12, 2012 - Computers - 850 pages

The ASP.NET MVC 4 Framework is the latest evolution of Microsoft’s ASP.NET web platform. It provides a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET.

ASP.NET MVC 4 contains a number of significant advances over previous versions. New mobile and desktop templates (employing adaptive rendering) are included together with support for jQuery Mobile for the first time. New display modes allow your application to select views based on the browser that's making the request while Code Generation Recipes for Visual Studio help you auto-generate project-specific code for a wide variety of situtations including NuGet support.

In this fourth edition, 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 the latest 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.

The book's authors, Steve Sanderson and Adam Freeman, have both watched the growth of ASP.NET MVC since its first release. Steve is a well-known blogger on the MVC Framework and a member of the Microsoft Web Platform and Tools team. Adam started designing and building web applications 15 years ago and has been responsible for some of the world's largest and most ambitious projects. You can be sure you are in safe hands.

What you’ll learn Gain a solid architectural understanding of ASP.NET MVC 4, including basic MVC Explore the entire ASP.NET MVC Framework Learn what's new in version 4 and how how best to apply these new features See how MVC and test-driven development work in action Capitalize on your existing knowledge quickly and easily through comparison of features in classic ASP.NET to those in ASP.NET MVC Learn about the latest security and deployment issues, including those related to IIS 7 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 new ASP.NET MVC 4 Framework.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Whats the Big Idea?
3
Your First MVC Application
15
The MVC Pattern
47
Essential Language Features
73
Working with Razor
101
Essential Tools for MVC
125
SportsStoreA Real Application
161
Navigation
201
Controller Extensibility
455
Views
485
Helper Methods
511
Templated Helper Methods
541
URL and Ajax Helper Methods
569
Model Binding
599
Model Validation
629
Bundles and Display Modes
657

Completing the Cart
231
Administration
255
Security Finishing Touches
283
Overview of MVC Projects
303
URL Routing
323
Advanced Routing Features
363
Controllers and Actions
391
Filters
419
Web API
679
Deployment
699
Index
717
Contents
vii
About the Author
xxi
About the Technical Reviewer
xxii
Acknowledgments
xxiii
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

Adam Freeman is an experienced IT professional who has held senior positions in a range of companies, most recently serving as chief technology officer and chief operating officer of a global bank. Now retired, he spends his time writing and training for his first competitive triathlon.

Bibliographic information