Pro ASP.NET MVC 4, Fourth Edition

  • 11h 12m
  • Adam Freeman, Steve Sanderson
  • Apress
  • 2012

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 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

About the Author

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.

In this Book

  • What's the Big Idea?
  • Your First MVC Application
  • The MVC Pattern
  • Essential Language Features
  • Working with Razor
  • Essential Tools for MVC
  • SportsStore—A Real Application
  • SportsStore: Navigation
  • SportsStore: Completing the Cart
  • SportsStore: Administration
  • SportsStore: Security & Finishing Touches
  • Overview of MVC Projects
  • URL Routing
  • Advanced Routing Features
  • Controllers and Actions
  • Filters
  • Controller Extensibility
  • Views
  • Helper Methods
  • Templated Helper Methods
  • URL and Ajax Helper Methods
  • Model Binding
  • Model Validation
  • Bundles and Display Modes
  • Web API
  • Deployment
SHOW MORE
FREE ACCESS