53GB

ASP.NET Core Identity – Authentication and Authorization in ASP.NET Core – Login and Registration



Full ASP.NET Courses 🚀

👉 Build ASP.NET Core Web API – Scratch To Finish ( .NET 6)
https://www.udemy.com/course/build-rest-apis-with-aspnet-core-web-api-entity-framework/?couponCode=1299OCT22

👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API
https://www.udemy.com/course/real-world-app-angular-aspnet-core-web-api-and-sql/?couponCode=1299OCT22

👉 ASP.NET Core Razor Pages – Scratch to Finish (.NET 6)
https://www.udemy.com/course/aspnet-core-razor-pages-web-application-development/?couponCode=1299OCT22

Blog: https://codelikeadev.com/
In this video, we will create an ASP.NET Core 5 web application using Razor Pages and we will implement ASP.NET core Authentication and Authorization using ASP.NET Core Identity.
We will use Entity Framework Core and SQL Server to store our registered users in our Authentication database.

💖 Subscribe to show support: https://bit.ly/2FAgXzS
☕ Buy me a coffee: https://www.buymeacoffee.com/SameerSaini

NuGet Packages to Install
Microsoft.Entityframeworkcore.SqlServer
Microsoft.Entityframeworkcore.Tools
Microsoft.AspNetCore.Identity.EntityFrameworkCore

Entity Framework Core Migrations to run
Add-Database AddAuthentication
Update-Database

Chapters:
00:00 Introduction
01:06 Create ASP.NET Core 5 Razor Web Application
02:32 Update to Bootstrap 5
03:40 Discussing Approach
05:40 Install Entity Framework Core (Code First Approach)
10:30 Change Startup.cs to add Authentication
12:00 Create Entity Framework Migrations
13:49 Create and Implement Register page
30:15 Change Navigation Menu in the Layout file
36:10 Create and Implement Login page
48:40 Create and Implement Logout page
54:10 Add Authorization to pages

Exit mobile version