Mô tả

The course is updated to use .NET 8 in 2023.


Authentication and Authorization are vital components of modern web app and web API development. ASP.NET Core Identity provides a complete solution to achieve this purpose. While it may seem easy to scaffold a solution with a few clicks, truly adapting it to your specific project requirements demands a deep understanding of how ASP.NET Core Identity works from the inside out.


With 5 sections and about 7 hours of high-quality content created by Frank Liu - a senior software developer with over 20 years of experience in .NET development - this course will empower you with comprehensive knowledge and practical skills.


Why Choose This Course:

  • Clear and logical explanations with diagrams: Gain a solid theoretical understanding of authentication and authorization through visually engaging diagrams, providing you with a deeper comprehension of the subject matter.

  • In-depth exploration: Secure your web app and web APIs without relying solely on ASP.NET Identity, understanding what lies beneath the surface.

  • ASP.NET Core Identity mastery: Learn not only how to code with ASP.NET Core Identity but also comprehend the reasons behind its workings.

  • Multi-Factor Authentication (MFA): Master MFA essentials, starting with Email MFA and progressing to the use of the Authenticator App.

  • External Authentication Providers: Discover how to integrate social media login with Facebook as an external authentication provider.


You will learn the following topics in depth:

  1. Section #1: Authentication and Authorization UNDER the HOOD.

You will start with a solid understanding of the theory of authentication and authorization first and then you will be learning to secure your web app without using ASP.NET Identity, so that you know what is under the hood. This builds a strong foundation for you.


  1. Section #2: Securing Web APIs

Same idea with the previous section, but here we are securing Web APIs.


  1. Section #3: ASP.NET Core Identity In Depth

Now we are getting into ASP.NET Core Identity. Here you will not only learn how to code with ASP.NET Core Identity, but you will learn all the reasons behind the working of Identity with the knowledge you have just learned in the previous sections.


  1. Section #4: MFA in ASP.NET Identity

MFA is a must when you work with a public facing website. Hence, this section is very important. After the in-depth explanation of the concept, you will start with a simpler Email MFA scenario, then moving on to the Authenticator App MFA case.


  1. Section #5: External Authentication Providers

Lots of applications (public facing or not) want to use external social media to manage the user login, so that the applications can focus on the business logic. This section takes Facebook Login as an example and walks you through the steps of using an external authentication provider.


You will master the following technical skills:

  • What are Identities, Claims, and Principal (Security Context).

  • Cookie Authentication for Web App.

  • Authentication and Authorization handlers

  • Policy based Authorization

  • Create Custom Policies

  • JWT Token Authentication for Web APIs / REST APIs.

  • ASP.NET Core Identity Configuration

  • Use Identity to implement all typical scenarios including: User Registration, User Login, Logout, Email confirmation, Roles vs Claims and User Profile page.

  • MFA with Email.

  • MFA with Authentication App.

  • Social Media login with Facebook.


What you will need:

  • Intermediate Level of C# or at least 6 months of experience.

  • Intermediate Level of ASP.NET Core or at least 6 months of experience.

  • Basic HTML.

  • You should know OOP and the concept of interface in C#.

  • You are interested in learning this topic.

  • You are eager to learn.


Who this course is for:

  • ASP .NET Core Developers

  • API Developers

  • Mobile Application Developers

  • C# or VB NET Developers


Last but Not least:

Enjoy this course and don't forget to check out my other courses:

  • Complete guide to Web API in .NET 8

  • Learn Blazor while creating an Inventory Management system

  • Clean Architecture course

  • Learn .NET MAUI while creating a Contacts App

Enroll now to become an expert in authentication, authorization, and ASP.NET Core Identity, and take your web API development skills to the next level! Experience the power of clear explanations complemented by visually engaging diagrams, ensuring you gain a comprehensive understanding of the subject matter. Don't miss the opportunity to learn from an experienced instructor and excel in your career development.

Bạn sẽ học được gì

What are Identities, Claims, and Principal (Security Context)

Cookie Authentication for Web App

JWT Token Authentication for Web APIs / REST APIs

Authentication and Authorization handlers

Policy based Authorization

Create and Handle Custom Authorization Policy

ASPNET Core Identity Configuration

Use Identity to cover all typical scenarios including: User Registration, User Login, Logout, Email confirmation, Roles vs Claims and User Profile page.

MFA with Email

MFA with Authentication App

Social Media login with Facebook

Yêu cầu

  • Intermediate Level of C# or at least 6 months of experience.
  • Intermediate Level of ASPNET Core or at least 6 months of experience.
  • Basic HTML.
  • You should know OOP and the concept of interface in C#.
  • You are interested in learning this topic and you are eager to learn.

Nội dung khoá học

11 sections

Web Security Under the Hood for Web Applications

14 lectures
Lecture 1: Security Overview
06:03
Authentication & Authorization Flow
06:44
ASP.NET Core Basics
06:13
Security Context in ASP.NET Core
03:52
Anonymous Identity
06:04
Source Code
00:10
Create Login Page
12:37
Generate Cookie with Cookie Authentication Handler
20:00
Read Cookie with Authentication Middleware
09:15
Authorization Architecture & Flow
08:43
Simple Policy based Authorization
19:52
Login & Logout Partial View
09:07
Custom Policy based Authorization
12:15
Cookie Lifetime & Browser Session
10:18

Secure Web APIs

9 lectures
Cookie vs Token and Our Use Case
02:05
Create & Consume a Web API Endpoint
15:17
What is JWT Token
03:49
The Typical JWT Flow
02:55
Generate JWT Token with JWT Token Handler
15:37
Read JWT Token with Authentication Handler & Middleware
10:55
Consume the Endpoint protected by JWT Token
08:26
Store & Reuse Token in Session
10:15
Apply Policy to WebAPI Endpoint
05:08

ASP.NET Core Identity

18 lectures
The Three Essential Parts of Identity
01:45
Install Nuget Packages for Working with Identity
06:28
Create the Database for Identity
10:25
Configure Web App to Use Identity
05:31
Core Classes of Identity
02:23
User Registration Workflow
02:16
User Registration
13:00
User Login
07:41
Email Confirmation Flow
02:46
Email Confirmation Dry Run
05:45
Confirm Email Page
06:24
Send Email
05:01
Refactor Email Sending Code
10:09
Sign Out
03:19
Collecting More User Info with IdentityUser schema change
09:47
Collecting More User Info with Claims
05:29
Roles
05:21
Create a User Profile page
17:49

ASP.NET Core Identity MFA

7 lectures
What is MFA
02:29
How 2FA works through email
01:40
Implement Email 2FA
16:45
How 2FA with Authenticator App works
04:07
Implement Authenticator MFA Setup (manual)
20:25
Implement Authenticator MFA Code Checking
09:13
Use QR Code for MFA Setup
06:44

External Authentication Providers

5 lectures
Overview of Login with Social Media Accounts
01:43
Setup App Account in Facebook
05:35
Extra: How OAuth Really works
00:29
Delegate Login to Facebook
13:03
Implement Callback Controller
09:04

Thank you and Next Steps

1 lectures
Thank you and Next Steps
00:24

(OLD COURSE) Web Security Under the Hood for Web Applications

14 lectures
Security Overview
06:03
Authentication & Authorization Flow
06:44
ASP.NET Core Basics
06:13
Security Context in ASP.NET Core
03:52
Anonymous Identity
05:53
.Net 6 Update
08:17
Create a Login Page
11:18
Generate Cookie with Cookie Authentication Handler
20:34
Read Cookie with Authentication Middleware
09:31
Authorization Architecture & Flow
08:24
Simple Policy based Authorization
19:00
Login & Logout Partial View
07:51
Custom Policy based Authorization
12:44
Cookie Lifetime & Browser Session
09:21

(OLD COURSE) Secure Web APIs

9 lectures
Cookie vs Token and Our Use Case
02:05
Create & Consume a Web API Endpoint
15:04
What is JWT Token
03:49
The Typical JWT Flow
02:55
Generate JWT Token with JWT Token Handler
15:44
Read JWT Token with Authentication Handler & Middleware
09:42
Consume the Endpoint protected by JWT Token
07:34
Store & Reuse Token in Session
10:34
Apply Policy to WebAPI Endpoint
03:49

(OLD COURSE) ASP.NET Core Identity

19 lectures
The Three Essential Parts of Identity
01:45
Create a Web App
00:16
Install Nuget Packages for Working with Identity
04:33
Create the Database for Identity
07:58
Configure Web App to Use Identity
04:41
Core Classes of Identity
02:23
User Registration Workflow
02:16
User Registration
13:13
User Login
09:05
Email Confirmation Flow
02:46
Email Confirmation Dry Run
06:08
Confirm Email Page
06:42
Send Email
05:01
Refactor Email Sending Code
10:13
Sign Out
03:19
Collecting More User Info with IdentityUser schema change
09:10
Collecting More User Info with Claims
05:46
Roles
05:21
Create a User Profile page
18:31

(OLD COURSE) ASPNET Core Identity MFA

7 lectures
What is MFA
02:29
How 2FA works through email
01:40
Implement Email 2FA
16:42
How 2FA with Authenticator App works
04:07
Implement Authenticator MFA Setup (Manual)
18:50
Implement Authenticator MFA Code Checking
06:51
Use QR Code for MFA Setup
09:38

(OLD COURSE) External Authentication Providers

5 lectures
Overview of Login with Social Media Accounts
01:43
Setup App Account in Facebook
05:35
Extra: How OAuth Really works
00:26
Delegate Login to Facebook
12:51
Implement Callback Controller
10:45

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.