Beginners ASP.NET Core Identity Tutorial



Beginners ASP.NET Core Identity Tutorial

Beginners ASP.NET Core Identity Tutorial

In this video tutorial I’ll explain the basics of ASP.NET Core Identity, specifically the Registration, Registration confirmation, logging in and out will be broken down line by line. We’ll be scaffolding all the necessary resources to expose this functionality, allowing us to improve and tailor the authentication processes for our own applications.

👉Join our monthly email club: https://signup.codewithjulian.com
🎉Check Out Further Resources: https://codewithjulian.com
👍If you enjoyed this tutorial, please like this video consider subscribing for more content like this!
😎Subscribe for endless .NET Tutorials: https://www.youtube.com/c/CodewithJulian

By the end of this tutorial, you will:
– Understand how to generate an ASP.NET Core Application with Identity, specifically Individual User Accounts, using your own data store
– Know what scaffolding is and how to use it to generate the Identity resources necessary for a fully-customizable authentication process
– Understand the basics of Identity in ASP.NET such as how the Registration process works, as well as the Email Confirmation.
– Understand how the user can log in and out of an application, in a click of a button
– Understand a high-level overview of the ASP.NET Identity core tables
– Understand the basics of Authorization
– Finally, you’ll be capable of Authorizing parts of a Razor page or entire routes

Source code: https://github.com/iulianoana/aspnet-core-idenitityapp-sample1

0:00 – Intro
1:03 – Create a New ASP.NET 6 Project
1:46 – Setup the Database Connection String
3:08 – Install Package Necessary for Scaffolding
3:29 – Scaffold Identity Razor Pages
4:59 – Update The Database
5:15 – ASP.NET Core Identity Entities
7:11 – Fix Script Rendering Issue
8:41 – ASP.NET Identity Logic Walk-Through
20:43 – ASP.NET Core Identity Authorization
24:21 – Add Not Authorized Redirect

Useful Links:
ASP.NET Core Identity Microsoft Article: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0
Scaffolding Identity Microsoft Article: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-6.0
Dependencies:
– Microsoft.VisualStudio.Web.CodeGeneration.Design –version 6.0.0
The next video, ASP.NET Identity with IdentityServer4 will premiere on 10th Jan 22 and can be found here 👉 https://youtu.be/SXJ377G5bOg

Credits:
– Sound effects obtained from https://www.zapsplat.com
– Icons designed by http://www.freepik.com and https://www.flaticon.com/
– Images from the artists on https://unsplash.com/

Comments are closed.