Apress

Pro ASP.NET MVC 5

5th Edition

By Adam Freeman

Pro ASP.NET MVC 5 Cover Image

The ASP.NET MVC 5 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.

Full Description

  • ISBN13: 978-1-4302-6529-0
  • 832 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: December 29, 2013
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $59.99
  • eBook Price: $41.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

The ASP.NET MVC 5 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 5 contains a number of advances over previous versions, including the ability to define routes using C# attributes and the ability to override filters. The user experience of building MVC applications has also been substantially improved. The new, more tightly integrated, Visual Studio 2013 IDE has been created specifically with MVC application development in mind and provides a full suite of tools to improve development times and assist in reporting, debugging and deploying your code. 

The popular Bootstrap JavaScript library has also now been included natively within MVC 5 providing you, the developer, with a wider range of multi-platform CSS and HTML5 options than ever before without the penalty of having to load-in third party libraries.


What you’ll learn

  • Gain a solid architectural understanding of ASP.NET MVC 5
  • Explore the entire ASP.NET MVC Framework as a cohesive whole
  • Learn what's new in version 5 and how best to apply these new features to your own work
  • 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 MV

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 5 Framework.

Table of Contents

Table of Contents

Part I: Introducing ASP.NET MVC 5

1.  What's The Big Idea
2.  Your first MVC Application
3.  The MVC Pattern
4.  Essential Language Features
5. Working with Razor
6. Essential Tools for MVC
7. Sports Store: A Real Application
8. Sports Store: Navigation
9. Sports Store: Cart
10. Sports Store: Mobile
11. Sports Store: Admin
12. Sports Store: Security and Finishing Touches
13. Deployment

Part II: ASP.NET MVC 5 In Detail

14. Overview of MVC5 Projects
15. URL Routing
16. Advanced Routing Features
17. Controllers and Actions
18. Filters
19. Controllers Extensibility
20. Views
21. Helper Methods
22. Templated Helper Methods
23. URL and Ajax Helper Meothods
24. Model Binding
25. Model Validation
26. Bundles
27. WebAPI and Single Page Applications
Source Code/Downloads

Downloads are available to accompany this book.

Please find chapters on ASP.NET identity from Adam Freeman's book, Pro ASP.NET MVC 5 Platform.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page Listing 15-23:
/{id}/ {*catchall}"

There should be no space before the curly brackets of {*catchall}

On page 78:
Please see the errata, and correction, noted below by the author.
Author Comment:

“decimal arrayTotal = products.TotalPrices();”

should instead be:

“decimal arrayTotal = productArray.TotalPrices();”

On page 165:
On page 164 we create the first controller in the project and name it ProductController.

On page 165 we should add a view to the controller and the text read like this:
"Right-click on the List action method in the HomeController class and select Add....

There is no HomeController in the project only the ProductController.