Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ASP.NET Core Identity - Authentication & Authorization [MVC]
Rating: 4.3 out of 5(972 ratings)
7,477 students

ASP.NET Core Identity - Authentication & Authorization [MVC]

Learn Authentication & Authorization in ASP.NET Core (.NET 8) as we explore Identity Library with MVC and Razor Library
Last updated 2/2026
English

What you'll learn

  • ASP NET Core Identity with MVC
  • Authorization with Roles
  • Implementing Two-Factor Authentication
  • Implementing Sign Up and Sign-in using with E-mail confirmation
  • User, Claims and Role Management
  • Scaffold Identity Library
  • Two Factor Authentication with MVC
  • External Logins in MVC
  • Policy Management
  • Custom Handler and Requirements

Course content

10 sections105 lectures6h 28m total length
  • Welcome3:12
  • ASP.NET Core Identity4:04
  • Get most out of the course0:44
  • Demo and what this course is not about3:41
  • Authentication and Authorization3:40
  • Cookies vs Token based auth2:31
  • Token vs cookie auth flow2:24
  • Asp.net core identity structure and architecture4:12

    Explore how asp.net core identity uses a store and role store as a data access layer with interfaces, and how user manager, role manager, and the sign-in manager extend authentication.

  • Roles and claims2:35
  • Tools needed0:28
  • Project resources1:30
  • Create Project1:10
  • 16 Run Project0:58
  • 17 Add Connection String1:53
  • 18 Add DbContext to Project3:57

    Configure Entity Framework Core by creating application DbContext, installing SQL Server and Entity Framework Core packages, and set up Identity using IdentityDbContext for authentication and authorization with code-first data access.

  • 19 Configure DbContext in Program Class File3:55
  • 20 Create Database2:38

Requirements

  • Basic SQL Server knowledge
  • 6months of experience with C#
  • Basic knowledge of ASP NET Core

Description

Learn important skills for the new identity system for ASP.NET Core. Many times with the built in code developer misses the core concepts behind security in ASP.NET Core or how the Identity Razor class library behaves! 


ASP.NET Core now includes the new identity system, which replaces the legacy membership system in ASP.NET. It is essential that software engineers learn these relevant skills and apply them when developing MVC applications if they do not want to combine razor pages with MVC


In this course we will build custom code with MVC for Identity Management similar to Identity Razor class library but with MVC. That way you can learn to stick with just one technology in your project.


Once we develop authentication with MVC and learn how to customize it.

We will also learn advance topics in authorization, as we start with basics and learn to dive into roles, claims and custom policy by building handlers, requirements and much more!


Authorization and User Management is a must in real world projects, and that is exactly what we will learn in this detailed course!


Course has been built using the latest .NET 8! 


There is no course on Udemy that comes close the the topics explained in this course. I hope to see you guys in the learning journey!

Who this course is for:

  • Anyone who wants to implement .NET Core Identity library with MVC
  • Anyone who wants to explore advanced authorization in details with ASP NET Core