Learn your way! Get started

Identity 2.0, Part 2: User Verification and Authentication

with expert Mike Benkovich

Watch trailer

Identity 2.0, Part 2: User Verification and Authentication Trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 12/8/2014
Level Level Intermediate
Runtime Runtime 1h 27m
Platform Platform Major browsers on Windows Major browsers on Windows Major browsers on Mac OSX Major browsers on Mac OSX Mobile Devices Mobile Devices
Closed captioning Closed captioning Included
Transcript Transcript Included
eBooks / courseware eBooks / courseware Included
Hands-on labs Hands-on labs N/A
Sample code Sample code Included
Exams Exams Included

Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

Course description

In this course you are going to take a look at integrating advanced new features of identity into our application. This includes things like implementing messaging via email or text to the users to support account verification, multi-factor authentication, and more. You'll also see how to work with the Authorization framework of Roles and Claims and see how to use them in our app.


This course is for users with experience with developing web applications using C# or other object oriented programming languages. You should also have viewed ‘Identity 2.0: Introduction’ before viewing this course.

Meet the expert

Mike Benkovich Mike Benkovich delivers technical presentations around the U.S. as a consultant, trainer and former Developer Evangelist for Microsoft. He has worked in a variety of professional roles, including architect, project manager, developer, and technical writer. Mike is also an author of two books, published by WROX Press and APress, that show developers how to get the most from their SQL databases. Since appearing in the 1994 Microsoft DevCast, Mike has presented technical information at seminars, conferences, and corporate boardrooms across America.

Course outline

User Verification and Authentication

Customizing User Profile (26:08)
  • Introduction (00:19)
  • Custom Profile (01:30)
  • Customizing User Profile (00:44)
  • ApplicationUser Class (01:08)
  • Schema Managed by EF (02:39)
  • Demo: Custom Profile (06:04)
  • Demo: Migration (04:54)
  • Demo: Favorite Color (04:37)
  • Demo: Controllers (03:56)
  • Summary (00:14)
Account Verification (19:33)
  • Introduction (00:23)
  • Set Up Account Verification (01:00)
  • IIdentityMessageService (00:56)
  • SendGrid (00:36)
  • Enable Use of Message Services (00:55)
  • Demo: Email Service (04:16)
  • Demo: SendGrid (04:40)
  • Demo: Redirect (04:25)
  • Demo: User Data (02:06)
  • Summary (00:11)
Two Factor Authentication (19:49)
  • Introduction (00:22)
  • Two-Factor Authentication (00:30)
  • Enable Two Factor Auth (00:43)
  • Get Started with Twilio (00:30)
  • Demo: Install Twilio (03:34)
  • Demo: Message Setup (04:24)
  • Demo: Send Message (04:26)
  • Demo: Forgot Password (05:09)
  • Summary (00:06)
Working with Roles (21:37)
  • Introduction (00:18)
  • Working with Roles (00:42)
  • URL-Based Authorization (00:50)
  • MVC Security Annotations (00:38)
  • Demo: Reports (02:52)
  • Demo: UserAdmin (05:08)
  • Demo: Apply Roles (05:01)
  • Demo: URL-Based Auth (02:37)
  • Demo: MVC Authorization (03:14)
  • Summary (00:12)