Asp.Net Core Identity With Angular (Jwt, Email Confirmation)

Posted By: ELK1nG

Asp.Net Core Identity With Angular (Jwt, Email Confirmation)
Published 5/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 6.33 GB | Duration: 12h 0m

You will create a web application using .NET 7 Web API and Angular 15 to implement full fledge of ASPNET Identity

What you'll learn

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

Requirements

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

Description

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.

Overview

Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Course Contents

Section 2: Setup Web API

Lecture 3 Create Web Api Project

Lecture 4 Nuget package installations

Lecture 5 Apply first migration

Lecture 6 IdentityCore services

Lecture 7 Create JWTService

Lecture 8 Authentication service and pipeline

Lecture 9 Account controller and login

Lecture 10 Register user

Lecture 11 Test register and login using postman

Lecture 12 Refresh user token

Section 3: Setup ClientApp

Lecture 13 Create ClientApp

Lecture 14 Installing ngx-bootstrap

Lecture 15 ClientApp folder structure

Lecture 16 Routing

Lecture 17 Design Navbar and Footer

Lecture 18 Installating Bootswatch

Lecture 19 Design login and Register components

Lecture 20 Register functionalities part 1

Lecture 21 Register functionalities part 2

Lecture 22 Register functionalities part 3

Lecture 23 Register functionalities part 4

Lecture 24 Login functionalities

Section 4: User Persistence in ClientApp

Lecture 25 Persisting user part 1

Lecture 26 Persisting user part 2

Lecture 27 Persisting user part 3

Lecture 28 Client authorization part 1

Lecture 29 Client authorization part 2

Section 5: Email Confirmation, Forgot Username or Password in API

Lecture 30 Setup EmailService

Lecture 31 Send Email Confirmation Link

Lecture 32 Email Confirm EndPoint

Lecture 33 Resend Email Confirmation Link EndPoint

Lecture 34 Forgot Username or Password EndPoint

Lecture 35 Reset Password EndPoint

Section 6: Email Confirmation, Forgot Username or Password in ClientApp

Lecture 36 Confirm-Email component

Lecture 37 Send-Email component

Lecture 38 Reset-Password component part 1

Lecture 39 Reset-Password component part 2

Lecture 40 Reset-Password component part 3

Section 7: Google and Facebook Registration and Login

Lecture 41 Running ClientApp with HTTPS

Lecture 42 Setup Facebook Developers

Lecture 43 Register with FB ClientApp part 1

Lecture 44 Register with FB ClientApp part 2

Lecture 45 Register with FB API part 1

Lecture 46 Register with FB API part 2

Lecture 47 Register with FB API part 3

Lecture 48 Login with FB ClientApp

Lecture 49 Login with FB API

Lecture 50 Assignment 1 (Try to fix the current bug)

Lecture 51 Assignment solution

Lecture 52 Setup Google Developer Console

Lecture 53 Register with Google ClientApp part 1

Lecture 54 Register with Google ClientApp part 2

Lecture 55 Register with Google API

Lecture 56 Login with Google ClientApp

Lecture 57 Login with Google API

Section 8: Authorization with User Roles, Policy and Claims

Lecture 58 Seed Database part 1

Lecture 59 Seed Database part 2

Lecture 60 Roles Practice

Lecture 61 Policy Practice Level 1

Lecture 62 Policy Practice Level 2

Lecture 63 Policy Practice Level 3

Lecture 64 Policy Practice Level 4

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

Lecture 65 Admin Controller, Get Members

Lecture 66 Lock Member

Lecture 67 Unlock Member

Lecture 68 Delete Member

Lecture 69 Get Application Roles

Lecture 70 Get Member

Lecture 71 Add Edit Member part 1

Lecture 72 Add Edit Member part 2

Lecture 73 Add Edit Member part 3

Lecture 74 Assignment 2 (Set rules for invalid login attempt)

Lecture 75 Assignment Solution

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

Lecture 76 Create Admin Component with routing

Lecture 77 Make Admin button visible to only admin role users

Lecture 78 Admin Guard

Lecture 79 Admin Service

Lecture 80 Admin Component boilerplate

Lecture 81 Lock-Unlock members

Lecture 82 Delete Member

Lecture 83 Add-Edit-Member part 1

Lecture 84 Add-Edit-Member part 2

Lecture 85 Add-Edit-Member part 3

Lecture 86 Add-Edit-Member part 4

Lecture 87 Add-Edit-Member part 5

Lecture 88 Fix Navbar UI issue

Lecture 89 Assignment 3 (handle lock member for logged in member)

Lecture 90 Assignment Solution

Section 11: Application Deployment

Lecture 91 Angular Production Build and Serve it in API

Lecture 92 Create Azure SQL Server and Apply Migrations and Seeds

Lecture 93 Refactor Get Member-s

Lecture 94 Application Deployment

Lecture 95 Modify Google and Facebook Developer Console

This course is designed for individuals interested in leveraging their knowledge of .NET Core and Angular to develop an application that simulates a real-world user registration and login scenario