Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

ASP.NET MVC 5 Essential Training

via LinkedIn Learning

Overview

Learn how to develop modern, dynamic web applications with the ASP.NET MVC 5 framework.

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.

Syllabus

Introduction
  • Powerful web applications with MVC 5
  • What you should know
  • Tools used
  • Demo project overview
1. Getting Started with MVC 5
  • Model-view-controller (MVC) pattern
  • Advantages of MVC
  • Visual Studio new project dialog
  • Walking through the new project template
  • How MVC services requests
  • Startup configuration and global routing
2. Startup and Configuration
  • Handling events in Global.asax
  • App config with App_Start
3. Controllers
  • Putting the pieces together
  • Using controllers and action methods
  • Returning a view response
  • Using other response helpers
  • Attribute routing
  • Advanced attribute routing
4. Filters
  • Securing your app with filters
  • Customizing your actions with filters
  • Altering action results with filters
  • Handling exceptions with filters
5. Views
  • View folder organized by convention
  • Razor: Transitioning from code to markup
  • Implicit/explicit expressions and blocks
  • Adding comments to Razor
  • Handling form posts with IsPost
  • Passing data from the controller
6. Strongly Typed Models
  • Bringing models and views together
  • Building HTML with HTML Helpers
  • Advanced use of HTML Helpers
  • Define your own inline HTML Helpers
  • Creating custom HTML Helpers
7. Sharing Views
  • Sharing layouts
  • Using bundles and sections in layouts
  • Rendering partial views
  • Escaping the @ symbol
8. Models
  • Data models vs. view models
  • Building models with Entity Framework
  • Validation with data annotations
  • Validation with ModelState
  • Displaying validation in the view
  • Building custom validation attributes
9. Unit Testing
  • Testing a controller's selected view
  • Testing a controller's view data
Conclusion
  • Next steps

Taught by

Jonathan "J." Tower

Reviews

Start your review of ASP.NET MVC 5 Essential Training

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.