
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Professional ASP.NET MVC 5
About this book
ASP.NET MVC insiders cover the latest updates to the technology in this popular Wrox reference
MVC 5 is the newest update to the popular Microsoft technology that enables you to build dynamic, data-driven websites. Like previous versions, this guide shows you step-by-step techniques on using MVC to best advantage, with plenty of practical tutorials to illustrate the concepts. It covers controllers, views, and models; forms and HTML helpers; data annotation and validation; membership, authorization, and security.
- MVC 5, the latest version of MVC, adds sophisticated features such as single page applications, mobile optimization, and adaptive rendering
- A team of top Microsoft MVP experts, along with visionaries in the field, provide practical advice on basic and advanced MVC topics
- Covers controllers, views, models, forms, data annotations, authorization and security, Ajax, routing, ASP.NET web API, dependency injection, unit testing, real-world application, and much more
Professional ASP.NET MVC 5 is the comprehensive resource you need to make the best use of the updated Model-View-Controller technology.
Trusted byĀ 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Chapter 1
Getting Started
- Understanding ASP.NET MVC
- An overview of ASP.NET MVC 5
- How to create MVC 5 applications
- How MVC applications are structured
A QUICK INTRODUCTION TO ASP.NET MVC
How ASP.NET MVC Fits in with ASP.NET
System.Web.UI: The Web Forms layer, comprising server controls, ViewState, and so onSystem.Web: The plumbing, which supplies the basic web stack, including modules, handlers, the HTTP stack, and so on
The MVC Pattern
- The Model: A set of classes that describes the data you're working with as well as the business rules for how the data can be changed and manipulated
- The View: Defines how the application's UI will be displayed
- The Controller: A set of classes that handles communication from the user, overall application flow, and application-specific logic
MVC as a User Interface Pattern
MVC as Applied to Web Frameworks
- Models: These are the classes that represent the domain you are interested in. These domain objects often encapsulate data stored in a database as well as code that manipulates the data and enforces domain-specific business logic. With ASP.NET MVC, this is most likely a Data Access Layer of some kind, using a tool like Entity Framework or NHibernate combined with custom code containing domain-specific logic.
- View: This is a template to dynamically generate HTML. We cover more on that in Chapter 3 when we dig into views.
- Controller: This is a special class that manages the relationship between the View and the Model. It responds to user input, talks to the Model, and decides which view to render (if any). In ASP.NET MVC, this class is conventionally denoted by the suffix Controller.
Note
Table of contents
- Cover
- Chapter 1: Getting Started
- Chapter 2: Controllers
- Chapter 3: Views
- Chapter 4: Models
- Chapter 5: Forms and HTML Helpers
- Chapter 6: Data Annotations and Validation
- Chapter 7: Membership, Authorization, and Security
- Chapter 8: Ajax
- Chapter 9: Routing
- Chapter 10: NuGet
- Chapter 11: ASP.NET Web API
- Chapter 12: Single Page Applications with AngularJS
- Chapter 13: Dependency Injection
- Chapter 14: Unit Testing
- Chapter 15: Extending MVC
- Chapter 16: Advanced Topics
- Chapter 17: Real-World ASP.NET MVC: Building the NuGet.org Website
- Appendix: ASP.NET MVC 5.1
- Foreword
- Introduction
- Advertisement
- End User License Agreement
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app