Mô tả

ASP.NET Identity is a powerful authentication and authorization framework that helps you manage user authentication and access control for your web applications. In this comprehensive course, you will learn everything you need to know to implement secure user authentication and authorization using ASP.NET Identity.


In this course we will create a web application using .NET 7 (Web API) as server side and Angular 15 as Client side from scratch and implement and handle a fully functional user registration, login, email confirmation, and many more.


Starting with the basics, you'll learn how to create and configure user accounts and roles, and how to use JWT authentication providers to secure your web application. You'll also learn how to customize the authentication process to fit the specific needs of your application, including integrating with external authentication providers like Facebook and Google.


From there, you'll dive deeper into authorization and access control, exploring how to implement role-based authorization, how to secure resources to add an extra layer of security to your application.


Throughout the course, you'll work on hands-on exercises and projects, putting your new skills into practice and designing and building real-world applications that demonstrate your mastery of ASP.NET Identity. By the end of this course, you'll have the knowledge and skills you need to confidently implement secure user authentication and authorization in your own web applications.

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

Build a complete real-world application from scratch

ASP NET Core Identity using .NET 7 (Web API) as Server side and Angular 15 as Client side

JWT Authentication and Authorization with Roles and Policy

ASPNET User manager, Role manager and Signin manager

Entity Framework Core, Migrations, Seed database

Implementation of user registration, login, email confirmation, forgot username or password, reset password

Signup and signin to the application using Google and Facebook account

Develop user interface, create form, angular components, services and communicate with API

Angular auth guard, role base restriction

Admin panel, to create and edit members, Lock and Unlock members

Deploy and publish the end product of the web application to Azure

Yêu cầu

  • At least one year of Web application programming experience with .NET and Angular
  • Experience with Entity Framework
  • Basic SQL Server knowledge
  • This course is not designed for an absolute beginner
  • If you don’t have one year of experience, but you are still willing to take this course, then sure go ahead as I explain everything as detail as possible

Nội dung khoá học

12 sections

Introduction

2 lectures
Introduction
11:46
Course Contents
00:14

Setup Web API

10 lectures
Create Web Api Project
06:20
Nuget package installations
04:18
Apply first migration
07:33
IdentityCore services
04:17
Create JWTService
13:47
Authentication service and pipeline
05:38
Account controller and login
09:12
Register user
07:28
Test register and login using postman
06:42
Refresh user token
08:01

Setup ClientApp

12 lectures
Create ClientApp
04:23
Installing ngx-bootstrap
02:34
ClientApp folder structure
04:03
Routing
06:14
Design Navbar and Footer
09:14
Installating Bootswatch
02:01
Design login and Register components
05:52
Register functionalities part 1
17:21
Register functionalities part 2
07:37
Register functionalities part 3
10:26
Register functionalities part 4
09:18
Login functionalities
07:41

User Persistence in ClientApp

5 lectures
Persisting user part 1
16:23
Persisting user part 2
08:27
Persisting user part 3
03:36
Client authorization part 1
12:13
Client authorization part 2
04:44

Email Confirmation, Forgot Username or Password in API

7 lectures
Setup EmailService
08:37
Alternative way of sending email using SMTP
04:50
Send Email Confirmation Link
09:42
Email Confirm EndPoint
10:32
Resend Email Confirmation Link EndPoint
04:56
Forgot Username or Password EndPoint
09:12
Reset Password EndPoint
07:34

Email Confirmation, Forgot Username or Password in ClientApp

5 lectures
Confirm-Email component
16:37
Send-Email component
18:24
Reset-Password component part 1
11:27
Reset-Password component part 2
04:44
Reset-Password component part 3
08:06

Google and Facebook Registration and Login

17 lectures
Running ClientApp with HTTPS
06:58
Setup Facebook Developers
07:49
Register with FB ClientApp part 1
08:31
Register with FB ClientApp part 2
14:38
Register with FB API part 1
08:23
Register with FB API part 2
07:29
Register with FB API part 3
07:54
Login with FB ClientApp
09:44
Login with FB API
07:33
Assignment 1 (Try to fix the current bug)
00:48
Assignment solution
03:18
Setup Google Developer Console
03:49
Register with Google ClientApp part 1
10:08
Register with Google ClientApp part 2
06:21
Register with Google API
11:10
Login with Google ClientApp
05:52
Login with Google API
02:37

Authorization with User Roles, Policy and Claims

7 lectures
Seed Database part 1
12:34
Seed Database part 2
06:23
Roles Practice
14:54
Policy Practice Level 1
05:29
Policy Practice Level 2
05:48
Policy Practice Level 3
06:39
Policy Practice Level 4
08:12

API - Admin feature, Add/Edit, Lock/Unlock member and login attemp rules

11 lectures
Admin Controller, Get Members
11:30
Lock Member
09:48
Unlock Member
03:14
Delete Member
02:36
Get Application Roles
02:46
Get Member
07:59
Add Edit Member part 1
08:20
Add Edit Member part 2
08:12
Add Edit Member part 3
07:27
Assignment 2 (Set rules for invalid login attempt)
03:15
Assignment Solution
08:11

ClientApp- Admin feature, Add/Edit, Lock/Unlock member and login attemp rules

15 lectures
Create Admin Component with routing
04:36
Make Admin button visible to only admin role users
11:12
Admin Guard
06:59
Admin Service
06:44
Admin Component boilerplate
09:03
Lock-Unlock members
04:57
Delete Member
09:39
Add-Edit-Member part 1
07:51
Add-Edit-Member part 2
09:26
Add-Edit-Member part 3
06:12
Add-Edit-Member part 4
09:41
Add-Edit-Member part 5
04:32
Fix Navbar UI issue
01:33
Assignment 3 (handle lock member for logged in member)
01:37
Assignment Solution
03:26

Application Deployment

5 lectures
Angular Production Build and Serve it in API
11:50
Create Azure SQL Server and Apply Migrations and Seeds
09:16
Refactor Get Member-s
05:50
Application Deployment
07:38
Modify Google and Facebook Developer Console
04:12

(Bonus) Refresh Token and Session time out

7 lectures
Project setup
04:45
Adding RefreshToken to database
08:20
Api side implementation part 1
11:00
Api side implementation part 2
10:50
Client side implementation part 1
10:45
Client side implementation part 2
11:15
Client side implementation part 3
14:58

Đá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.