53GB

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/

Exit mobile version