How to implement authentication in Blazor Server from scratch

preview_player
Показать описание
Authentication and Authorization in Blazor Server apps seems to be a very painful topic for a lot of people. However, if explained well enough, it's actually not that complicated. In this video we start from a blank Blazor Server application and we implement authentication step by step. Goal here is to understand the overall flow of the system. If that's done, then everything else on Blazor Server authentication and authorization will seem easey.
#Blazor #BlazorServer #aspnetcore

Join this channel to get access to perks:

Chapters
1. Intro: 00:00
2. Why scaffolding is bad: 00:23
3. NuGet packages & setting up EF Core: 05:56
4. Register auth services and middleware: 11:29
5. Why is Blazor Server so special? 20:37
6. Adding Razor Pages: 25:10
7. Implement register, login and logout: 33:27
8. Wiring up Blazor Server to support authentication: 47:38
9. Admire Blazor Server Authentication in its splendor: 50:49
Рекомендации по теме
Комментарии
Автор

Fantastic walkthrough. Was able to code alongside with only a few pauses. Really showed the guts of how Identity interacts with Blazor Server!

benwilliams
Автор

U helped me so much every guide out there used the scaffolding and u dont learn anything from that. U explain it and you show it 10/10 !!!!

leonv
Автор

I will say this video plus the following ones on claims and roles are amazing. Very well done and should be required viewing.

ElCidPhysics
Автор

Appreciate the clear explanations given, I've just started picking up Blazor and I'm able to understand why things should be done the way shown.

rebootingg
Автор

I love your videos. Very explainatory and detailed. I often find a lot of videos to be a little too much 'thats not important right now' and 'we are doing it as easy as possible' leaving me wondering how to actually implement the things I am trying to learn properly in an application that is supposed to be scalable. Your videos however, give me the right toolset to find an implementation that suits my needs.

Nico-lwol
Автор

it would be nice to have access to the HTML code to save time and focus on the backend code but it was a great video, clear explanation, thanks

josemtz
Автор

This video was uploaded at the right time for me :-) I am going to implement it the next days

epicfuturehouse
Автор

Awesome lesson. I'm excited for the next lesson. Thank you very much for this free lesson. 👍🙏

coolwaterdvr
Автор

Fantastic video, easy to follow. Thank you <3

Jabby
Автор

Thank you for creating this video. Well done.

GabeCook
Автор

is a very good course, i have a few questions :
1- when you are debuging you are using just a direction "Identity/Account/Register" but in the project we have
2- What is not existing in the Blazor Server tutorial, is Authentication and Autorization using SQL Server and see the connection, Tables, User Profils (Admin, Profil1, Profil2.
3- the other thing is we need RTL in Blazor
Thanks a lot

izemfadel
Автор

Thx a lot! Works perfect from the first build & run!! You did a great job :-)

FlatSwakop
Автор

Los Mejores videos para trabajar con Blazor Server en autorizacion y autenticacion. The best best tutorial for Blazor Server, Thank you so much.

victorcaceres
Автор

Amazing breakdown and really very helpful and getting me closer to build what I need
One example that I couldn't find anywhere on the internet or not really clear example is a mix between user Authentication with Azure AD and Roles from database for example some set of users are with the Role [Admin] and other users [Editor] while the rest of the users just can read I understand that I will need a table represents usernames and roles connected "except the read ones"
but I have no clue how to mix between them

mohamed.elkholy
Автор

Superb walkthrough! Subscribed. Thanks for the effort, very helpful.

thorium
Автор

I Love your tutorials thank you for you great hard work. You are really a great coder and a great attribute to the coding community

IvanRossouw
Автор

This video was very helpful thank you!!! I was wondering what steps I would take if I wanted to set this up with MongoDB instead to handle users. Thanks!

kdollas
Автор

Excellent video... thanks for sharing!!!

JohannQ
Автор

When you scaffold Identity, it adds a lot of stuff for you, it also hides a lot of stufss form U, lol! So true after digging all around for how to get this to work.

godfredboateng
Автор

I have recently started programming in Blazor... The video is fantastic. Easy to follow and easy to implement... Now I have to test the roles and so on, although I've seen that there is another video and now I'll get to it. I don't know if there will be any for user validation to be done through APIS.

nacholeon