Part 2️⃣ | Employee Management System with .NET 8 Blazor Wasm & API - adding JWT role authentication

preview_player
Показать описание

/*Source code available*/

/*Employee Management System*/

/*Syncfusion License Key*/

/*Playlists*/

# Here's a follow-up section to encourage engagement and support for Netcode-Hub:
🌟 Get in touch with Netcode-Hub! 📫

# ☕️ If you've found value in Netcode-Hub's work, consider supporting the channel with a coffee!
Рекомендации по теме
Комментарии
Автор

I have a greater understanding with us building all the DTO for Authentication than out of the box. Thanks for approaching the project this way. At last, I have joined the dots with my understanding. More, give me more videos :)

waynehawkins
Автор

Commenting for algorithm purposes. Great video tutorial!

jamisonwalkertv
Автор

We want to add a profile picture for the person who logs in, and also allow him to be able to edit the picture at any time he wants. Please and thank you for your tremendous efforts. We move forward.

codeDotnet
Автор

Hi Frederick,
Great video.
Questions:
1.) What is your opinion/thought of using the Identity classes (UserManager, RoleManager) versus creating custom identity? It seems you like going to custom route that is why I ask.
2.) A user can have multiple roles assigned right ?
3.) Is adding custom claims easy ? For example claims for CanView, CanEdit, CanDelete, etc.
Is it as easy as new Claim("CanEdit", "true") ?

ricardothomas
Автор

Can I suggest another change to future videos. With your Database class and your DTO class. It would be good to give them two different names so it's super clear what is a Data model vs a DTO model. EG RefreshToken and RefreshTokenDTO

waynehawkins
Автор

Do we have a link to download the code please.

waynehawkins
Автор

can get code free bro ?

im also working for a employee checkin and checkout system your code are very helpful me me, thanks

adreesumer
Автор

Thanks for this tutorial,
Hi Im sort of new to C#, i'm following the tutorial but i ran into a bug when trying to login
//Below is the Exception Error

System.ArgumentNullException: Value cannot be null. (Parameter 's')
at paramName)
at s)
at user, String role) in 81

dosunmuoluwamuyiwa
Автор

return new LoginResponse(true, "Login successfully", JwtToken, refreshToken); I can see the bearer token here but in swagger I have 200 ok and no bearer token (empty) What I'm I missing.

ekimeu