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

preview_player
Показать описание
Full ASP.NET Courses 🚀
👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API

👉 Build ASP.NET Core Web API - Scratch To Finish

👉 ASP.NET Core Razor Pages - Scratch to Finish

👉 Complete ASP.NET MVC Course

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.

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)
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
Рекомендации по теме
Комментарии
Автор

Very well explained, clean code, simplified and easy to understand. My project is adapted to bootstrap 4, and everything worked perfectly. I will follow your tutorials, because they are very well explained. And yes, as I think others have said, please do something with the image, that it is too small, and we have to zoom in so we can see. Otherwise, just words of praise. Bravo

ciorcagaby
Автор

Thank you all for taking out the time to watch my video, If you liked it, show your support by pressing the like button and subscribing to my channel. :)

SameerSaini
Автор

This was very helpful. I appreciate the fact that you take the time to explain everything and develop step by step instead of using the "out of the box" features.

ezekielgallardo
Автор

Thank you very much! Your video helped a lot in creating my project!

vwvyxzx
Автор

What do I do if Startup.cs is missing in Visual Studio 2022?

grow
Автор

Thank you . I watch it and learn a lot

fahimeabouhamze
Автор

Hi! Thank you very much for sharing your knowledge with us. This has been very helpful. I look forward to future videos on Razor Pages.

juanreyes
Автор

Short and sweet. Very good introduction.

frankenbeans
Автор

This was a great video! You really helped me get a better understanding of how communication happens in a Razor pages app and how authentication and authorization fit in.

alicekrassensky
Автор

that's exactly what I needed, thanks a lot!

YarikASMRPOMIRCHIY
Автор

Thank you sameer gaaru. This helped me alot.

sreejachowdary
Автор

thanks a lot man! this really helped me so much and thanks to the good explanation i think i undestand a lot more now

e__-wmth
Автор

Thank you so much for this awesome tutorial

mustafa.celiktas
Автор

Thank you sir for taking the time. The explanation was solid and helped me learn more about CORE web apps of which I have little experience.

iandalrymple
Автор

Thank you! That was really helpful.

I have a question, if the unregistered user can't have access to pages like "Index" or "Privacy", how could the registered user not have access to pages like "Register" or "Login" which should be only for registered/not logged in users?

jgalec
Автор

Great Tutorial. Thank you. Just one question. The "remember me" part doesn't work at my side. What did/could I miss ?

TheBerdu
Автор

Thank you very much, You have a very clear pronunciation and a very understandable explanation

gerardcuriel
Автор

Also when user registers a confirmation email must be sent to the user, how can we go about it?

himanshuk
Автор

I don't have startup file bcoz version is latest so how and where to write the code that you are written in startup

shitalsarode
Автор

thanks for the video . but i hoped i could find also about role operations anyway thanks again

huseyincuma