1234567

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.

Adam Freeman

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 long-distance running.

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

  1. Overview of MVC5 Projects

  2. URL Routing

  3. Advanced Routing Features

  4. Controllers and Actions

  5. Filters

  6. Controllers Extensibility

  7. Views

  8. Helper Methods

  9. Templated Helper Methods

  10. URL and Ajax Helper Meothods

  11. Model Binding

  12. Model Validation

  13. Bundles

  14. WebAPI and Single Page Applications