Course Overview
The course is updated to use .NET 10
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 ASP.NET Core 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 Core 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 in ASP.NET Core, 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 into ASP.NET Core apps.
You will learn the following topics in depth:
Section #1: ASP.NET Core Authentication and Authorization UNDER the HOOD.
You will start with a solid understanding of the theory of ASP.NET Core 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.
Section #2: Securing ASP.NET Core Web APIs
Same idea with the previous section, but here we are securing Web APIs.
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.
Section #4: MFA in ASP.NET Core 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.
Section #5: Integrate External Authentication Providers into ASP.NET Core apps
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) in ASP.NET Core.
Cookie Authentication for ASP.NET Core Web App.
ASP.NET Core Authentication and Authorization handlers
Policy based Authorization in ASP.NET Core web apps.
Create Custom Policies in ASP.NET Core web apps.
JWT Token Authentication for ASP.NET Core Web APIs / REST APIs.
ASP.NET Core Identity Configuration
Use ASP.NET Core Identity to implement all typical scenarios including: User Registration, User Login, Logout, Email confirmation, Roles vs Claims and User Profile page.
Integrate MFA with Email into ASP.NET Core apps.
Integrate MFA with Authentication App into ASP.NET Core apps.
Integrate Social Media login with Facebook into ASP.NET Core apps.
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
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.
FAQ
FAQ area empty
Course curriculum
Chương 1 Web Security Under the Hood for Web Applications 14 bài · 2 giờ 11 phút
- Lecture 1: Security Overview Học thử 5:38
- Authentication & Authorization Flow Học thử 5:58
- ASP.NET Core Basics Học thử 5:29
-
Security Context in ASP.NET Core 3:18
-
Anonymous Identity 6:39
-
Source Code
- Create Login Page Học thử 12:06
-
Generate Cookie with Cookie Authentication Handler 19:52
- Read Cookie with Authentication Middleware Học thử 8:40
-
Authorization Architecture & Flow 8:43
-
Simple Policy based Authorization 23:32
- Login & Logout Partial View Học thử 8:38
-
Custom Policy based Authorization 12:14
-
Cookie Lifetime & Browser Session 10:18
Chương 2 Secure Web APIs 9 bài · 1 giờ 13 phút
-
Cookie vs Token and Our Use Case 2:05
-
Create & Consume a Web API Endpoint 13:30
-
What is JWT Token 3:49
- The Typical JWT Flow Học thử 2:55
-
Generate JWT Token with JWT Token Handler 17:49
-
Read JWT Token with Authentication Handler & Middleware 9:31
-
Consume the Endpoint protected by JWT Token 8:24
-
Store & Reuse Token in Session 10:17
-
Apply Policy to WebAPI Endpoint 5:02
Chương 3 ASP.NET Core Identity 18 bài · 2 giờ 3 phút
-
The Three Essential Parts of Identity 1:45
-
Install Nuget Packages for Working with Identity 6:40
-
Create the Database for Identity 10:06
-
Configure Web App to Use Identity 7:26
-
Core Classes of Identity 2:07
-
User Registration Workflow 2:16
-
User Registration 13:00
-
User Login 7:41
-
Email Confirmation Flow 2:46
-
Email Confirmation Dry Run 5:45
-
Confirm Email Page 6:24
-
Send Email 5:01
-
Refactor Email Sending Code 10:09
-
Sign Out 3:30
-
Collecting More User Info with IdentityUser schema change 9:47
-
Collecting More User Info with Claims 5:29
-
Roles 5:21
-
Create a User Profile page 17:49
Chương 4 ASP.NET Core Identity MFA 7 bài · 1 giờ 1 phút
-
What is MFA 2:29
-
How 2FA works through email 1:40
-
Implement Email 2FA 16:45
-
How 2FA with Authenticator App works 4:07
-
Implement Authenticator MFA Setup (manual) 20:25
-
Implement Authenticator MFA Code Checking 9:13
-
Use QR Code for MFA Setup 6:44
Chương 5 External Authentication Providers 5 bài · 35 phút
-
Overview of Login with Social Media Accounts 1:43
-
Setup App Account in Facebook 8:51
-
Extra: How OAuth Really works
-
Delegate Login to Facebook 13:17
-
Implement Callback Controller 11:27
Chương 6 BONUS SECTION 1 bài
-
BONUS LECTURE
Requirment
-
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.
Outcomes
-
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
0 Student
4 Courses
0 review