MVC 5.2, Part 2 of 2: Views, Attributes, Identity, and Filters
Interactive

MVC 5.2, Part 2 of 2: Views, Attributes, Identity, and Filters

LearnNow Online
Updated Aug 22, 2018

Course description

In this course, you will be learning about many of the new features in MVC 5. We will learn about the new enhancements to MVC Views such as Enum Helpers and unobtrusive Ajax for the MaxLength and MinLength attributes. Another cool new feature bundled with MVC 5 is Attribute Routing. With several new attributes, we can easily configure routes directly on the controller and its actions. Next on the list is ASP.Net Identity. We will briefly explain what ASP.Net Identity is and review the default ASP.Net Identity code create by Visual Studio in new MVC 5 projects. Finally, we will discuss Authentication Filters and Filter Overrides.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

The course assumes you are an experienced ASP.Net MVC developer. You should have experience with ASP.Net MVC 4.0 or later. You should have experience using Visual Studio 2012 or later to create Web Applications. Knowledge of HTML, CSS and JavaScript is essential for the sections of Bootstrap and ASP.Net MVC Views. You should have already viewed the MVC 5.2: OneASP.NET, Upgrading and Bootstrap before viewing this course.


Meet the expert

Eric Greene

Eric Greene is an independent IT professional who loves learning new things, sharing what he learns, and helping clients to solve business problems. He holds a BS in Computer Science from the Virginia Military Institute and numerous software certifications including the Microsoft Certified Professional Developer certification. Eric has experience programming mobile, web-based, and desktop applications using a variety of commercial and open-source platforms including .NET, PHP, Node.js, Linux, Windows, SQL Server, SQLite, MySQL, Postgresql, and even a little MongoDB. He has worked with companies of all sizes, both on- and off-site, to help his customers meet their software development needs.

Video Runtime

107 Minutes

Time to complete

394 Minutes

Course Outline

View, Attributes and Identity

View Enhancements (30:21)

  • Introduction (00:17)
  • Enum Support in Views (00:31)
  • Using Enums in View Demo (00:24)
  • Demo: Enums in Views (03:31)
  • Demo: New Model (04:25)
  • Demo: Enums (03:30)
  • Demo: Enum Helper (02:03)
  • Demo: Select List (03:31)
  • MinLength/MaxLength (01:00)
  • MinLength/MaxLength Demo (00:17)
  • Demo: Min and Max Length (04:47)
  • Demo: Contact Form (05:52)
  • Summary (00:08)

Attributes (19:40)

  • Introduction (00:16)
  • Attribute Routing (01:31)
  • Attribute Routing Demo (01:09)
  • Demo: Attribute Routing (04:12)
  • Demo: Route Constraints (04:03)
  • Demo: Route Prefix (04:44)
  • Demo: Areas (03:26)
  • Summary (00:17)

ASP.NET Identity (20:57)

  • Introduction (00:33)
  • ASP.Net Identity (01:31)
  • ASP.Identity & OWIN (01:47)
  • Claims Based (01:40)
  • ASP.Net Identity Demo (01:49)
  • Demo: Identity (02:07)
  • Demo: OWIN Framework (05:14)
  • Demo: Third Party (05:54)
  • Summary (00:12)

Authentication Filters (28:39)

  • Introduction (00:33)
  • Authentication Filters (02:07)
  • Authentication Filters Demo (01:29)
  • Demo: Admin Controller (03:50)
  • Demo: Dashboard (05:02)
  • Demo: Simple Principle (03:08)
  • Demo: Filters (04:40)
  • Demo: Principle Object (03:20)
  • Demo: Code Controller (04:33)
  • Summary (00:12)

Filter Overrides (07:53)

  • Introduction (00:16)
  • Filter Overrides (01:28)
  • Filter Overrides Demo (00:09)
  • Demo: Filter Overrides (03:04)
  • Demo: Run Application (02:47)
  • Summary (00:06)