Skip to main content

Professional ASP.NET MVC 4

Professional ASP.NET MVC 4

Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen, Scott Hanselman (Foreword by)

ISBN: 978-1-118-34846-8

Oct 2012

504 pages

In Stock

$44.99

Description

An outstanding author team presents the ultimate Wrox guide to ASP.NET MVC 4

Microsoft insiders join giants of the software development community to offer this in-depth guide to ASP.NET MVC, an essential web development technology. Experienced .NET and ASP.NET developers will find all the important information they need to build dynamic, data-driven websites with ASP.NET and the newest release of Microsoft's Model-View-Controller technology. Featuring step-by-step guidance and lots of code samples, this guide gets you started and moves all the way to advanced topics, using plenty of examples.

  • Designed to give experienced .NET and ASP.NET programmers everything needed to work with the newest version of MVC technology
  • Expert author team includes Microsoft ASP.NET MVC insiders as well as leaders of the programming community
  • Covers controllers, views, models, forms and HTML helpers, data annotation and validation, membership, authorization, security, and routing
  • Includes essential topics such as Ajax and jQuery, NuGet, dependency injection, unit testing, extending MVC, and Razor
  • Includes additional real-world coverage requested by readers of the previous edition as well as a new case study example chapter

FOREWORD xxvii

INTRODUCTION xxix

CHAPTER 1: GETTING STARTED 1

CHAPTER 2: CONTROLLERS 31

CHAPTER 3: VIEWS 47

CHAPTER 4: MODELS 71

CHAPTER 5: FORMS AND HTML HELPERS 95

CHAPTER 6: DATA ANNOTATIONS AND VALIDATION 119

CHAPTER 7: MEMBERSHIP, AUTHORIZATION, AND SECURITY 137

CHAPTER 8: AJAX 189

CHAPTER 9: ROUTING 221

CHAPTER 10: NUGET 249

CHAPTER 11: ASP.NET WEB API 279

CHAPTER 12: DEPENDENCY INJECTION 297

CHAPTER 13: UNIT TESTING 317

CHAPTER 14: EXTENDING MVC 341

CHAPTER 15: ADVANCED TOPICS 365

CHAPTER 16: REAL-WORLD ASP.NET MVC: BUILDING THE NUGET.ORG WEBSITE 423

Summary 440

INDEX 443

Complete code download for Professional ASP.NET MVC 4
Download
ChapterPageDetailsDatePrint Run
IError in Text
HOW IT READS NOW:

CHAPTER 13 Unit Testing?.341
CHAPTER 14 Extending MVC.......65


HOW IT SHOULD READ:

CHAPTER 13 Unit Testing?. 318
CHAPTER 14 Extending MVC.......341
12/27/2012

67Error in Code
3rd line of code after sentence:
Let?s look at an example that uses this layout, Index.cshtml:

HOW IT READS NOW:
View.Title = The Index! ;

HOW IT SHOULD READ:
ViewBag.Title = The Index! ;
01/15/2014

88Error in Text
In the final sentence of the second paragraph:

HOW IT READS NOW:
Finally, the third parameter contains...

HOW IT SHOULD READ:
Finally, the fourth parameter contains...
12/31/2012

206Error in Text
Currently states:
Inside of MovieScripts.js adding two additional references...

Should state:
MusicScripts.js
10/10/2012

334Error in Code
CURRENTLY READS:

MvcApplication.RegisterRoutes(routes); RouteData routeData = routes.GetRouteData(mockContext.Object); SHOULD READ:

RouteConfig.RegisterRoutes(routes); RouteData routeData = routes.GetRouteData(mockContext.Object);
02/18/2013