ASP.NET MVC 5 Essential Training
2h 38mBeginner2019-08-12
Authors

Jonathan "J." Tower
Microsoft MVP, Software Architect
Course details
ASP.NET MVC is the tool of choice for building modern, dynamic, and scalable web applications. MVC 5 includes features that enable rapid, test-driven development. In this course, Jonathan "J." Tower teaches the essentials of the ASP.NET MVC 5 framework. Learn what models, views, and controllers are and how data is passed between them. See how controller classes and their action methods are used to organize your application's logic; how to use strongly typed models in your views; how to build models with Entity Framework; and how to create your own custom validation attributes. He also shows how to create and perform unit tests to ensure you build software that works the way it's supposed to.
Learning objectives
Creating a new ASP.NET MVC 5 project
Using controllers and action methods
Creating attribute routes
Strongly typed models
Building HTML with HtmlHelpers
Sharing views
Building models with Entity Framework
Unit testing code
Learning objectives
Creating a new ASP.NET MVC 5 project
Using controllers and action methods
Creating attribute routes
Strongly typed models
Building HTML with HtmlHelpers
Sharing views
Building models with Entity Framework
Unit testing code
Skills covered
ASP.NET MVCASP.NETBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentEssential TrainingWeb DevelopmentMicrosoft
Concepts
0. Introduction
- 01 - Powerful web applications with MVC 5
- 02 - What you should know
- 03 - Tools used
- 04 - Demo project overview
1. Getting Started with MVC 5
- 05 - Model-view-controller (MVC) pattern
- 06 - Advantages of MVC
- 07 - Visual Studio new project dialog
- 08 - Walking through the new project template
- 09 - How MVC services requests
- 10 - Startup configuration and global routing
2. Startup and Configuration
- 11 - Handling events in Global.asax
- 12 - App config with App Start
3. Controllers
- 13 - Putting the pieces together
- 14 - Using controllers and action methods
- 15 - Returning a view response
- 16 - Using other response helpers
- 17 - Attribute routing
- 18 - Advanced attribute routing
4. Filters
- 19 - Securing your app with filters
- 20 - Customizing your actions with filters
- 21 - Altering action results with filters
- 22 - Handling exceptions with filters
5. Views
- 23 - View folder organized by convention
- 24 - Razor - Transitioning from code to markup
- 25 - Implicit explicit expressions and blocks
- 26 - Adding comments to Razor
- 27 - Handling form posts with IsPost
- 28 - Passing data from the controller
6. Strongly Typed Models
- 29 - Bringing models and views together
- 30 - Building HTML with HTML Helpers
- 31 - Advanced use of HTML Helpers
- 32 - Define your own inline HTML Helpers
- 33 - Creating custom HTML Helpers
7. Sharing Views
- 34 - Sharing layouts
- 35 - Using bundles and sections in layouts
- 36 - Rendering partial views
- 37 - Escaping the @ symbol
8. Models
- 38 - Data models vs. view models
- 39 - Building models with Entity Framework
- 40 - Validation with data annotations
- 41 - Validation with ModelState
- 42 - Displaying validation in the view
- 43 - Building custom validation attributes
9. Unit Testing
- 44 - Testing a controller's selected view
- 45 - Testing a controller's view data
Conclusion
- 46 - Next steps
Related courses
- ASP.NET MVC 5 Identity: Authentication and Authorization
- Building React and ASP.NET MVC 5 Applications
- ASP.NET MVC: HTTP Request Life Cycle
- ASP.NET MVC: Building for Productivity and Maintainability
- Learning ASP.NET Core: MVC, Razor Pages, Web APIs & Other Foundations
- ASP.NET Core New Features
- Learning ASP.NET
- Building Real-Time Web Apps with SignalR 2
Related learn paths
- Getting Started as an ASP.NET Developer
- Advance your ASP.NET Developer skills
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Getting Started as an ASP.NET Core Developer
- Prepare for the Microsoft Azure Administrator (AZ-104) Exam
- Become a Back-End Web Developer
- Explore Web Development with Node.js
- Become a MEAN Javascript Developer