Very original. Really liked it. Keep up the good work good dude.
@RawCoding
4 жыл бұрын
Thanks) glad you liked it
@viktorbelousov640
4 жыл бұрын
comment just for pay respect) Thank you for the video!
@RawCoding
4 жыл бұрын
Thank you for watching)
@shenbrgd
4 жыл бұрын
Very informative. Love the intro 😂
@RawCoding
4 жыл бұрын
Thank you )
@josephcoyle8126
Жыл бұрын
I was immediately hooked once I heard that intro track!
@AssasinsCreeper
3 жыл бұрын
I had to watch this video a couple of times and read differets documentatons on this subject. But now, days later, I've finally understood! Many thanks!
@RawCoding
3 жыл бұрын
Glad you got it! Nice avatar as well )
@AssasinsCreeper
3 жыл бұрын
@@RawCoding I see you are a man of culture
@mistrykam
2 жыл бұрын
Great explaination! The diagrams showing the difference between role (binary) and claims (key/value) and how it's related to policy (permission) was really helpful.
@far-red
4 жыл бұрын
At 9:15, i totally got the roles and policy concepts, i immediately git pull the solution, tested and understood, code is nice and clean. i was looking for this, and this really really helped, thanks.
@RawCoding
4 жыл бұрын
Awesome!
@josiahtmahachi7291
3 жыл бұрын
Awesome tutorial. Really clears up things. Thank you...
@RawCoding
3 жыл бұрын
Thank you for watching
@trash2trash
2 жыл бұрын
SuperB! nice abstraction demonstration :)
@RawCoding
2 жыл бұрын
Cheers
@mieto5545
5 жыл бұрын
Thank u vvvvery much!!!! I am a new programmer but there is few tutorial on this newest version of Asp.net core 2.2 MVC. I have just been confusing for a long time on what you made in this tutorial . It really helps!
@RawCoding
5 жыл бұрын
Glad I could help!
@Suncircle2011
4 жыл бұрын
Thank you, man! Finally I’ve got it. Msdn documentation doesn’t make it clear, and you do.
@RawCoding
4 жыл бұрын
Awesome!
@dmitrypopov501
2 жыл бұрын
Thanks very much.
@RawCoding
2 жыл бұрын
Thank you for watching
@aj.arunkumar
Жыл бұрын
very awesome video... thanks man..!!
@TriPham-id7jo
Жыл бұрын
Great video!
@bahmanasheghi
Жыл бұрын
the grand entry was awesome :)
@anikovarkonyi2419
4 жыл бұрын
Best video, thanks a lot I could finally understand these 3!
@RawCoding
4 жыл бұрын
Thank you!
@rezameshksar503
4 жыл бұрын
I gave my like in the first second of the video. Great intro
@RawCoding
4 жыл бұрын
Hehe I tried ;)
@taraspelenio8259
4 жыл бұрын
Great explanation as well
@RawCoding
4 жыл бұрын
Thank you :)
@aikidoshi007
4 жыл бұрын
Brilliant! Well done, thanks!
@RawCoding
4 жыл бұрын
Cheers!
@nobudy_left
10 ай бұрын
best intro ever
@lessel7517
4 жыл бұрын
Intro sound effects are Hollywood level
@RawCoding
4 жыл бұрын
hahaha :D
@priyanshu4016
3 жыл бұрын
best start :)
@RawCoding
3 жыл бұрын
Ta
@sammygimnyigei
5 жыл бұрын
Impressive!!!! thanks for the video
@RawCoding
5 жыл бұрын
Glad you enjoyed it!
@TheZohan-777
5 жыл бұрын
great tutorial, thank you!
@RawCoding
5 жыл бұрын
Glad you enjoyed it))
@yogeswarank
3 жыл бұрын
Thank you very much. Can you also make a video on how to change the user claim after the user is logged in. Need a flexibility to refresh the claims of the user without asking him to log out and login again.
@RawCoding
3 жыл бұрын
Use IClaimsTransformer
@yogeswarank
3 жыл бұрын
@@RawCoding Thanks for your suggestion. I tried the IClaimsTransformation earlier. The modified claims under TransformAsync works only for the current controller and doesn't work when redirecting to another controller. I'm using cookie authentication in .Net Core 3.1. Do I need to do anything additionally for IClaimsTransformation to work for subsequent requests to work with new claims.
@RawCoding
3 жыл бұрын
Watch episode 3 or 4 of my auth series I explain how to use it there.
@govindsaini5600
4 жыл бұрын
Intro sound great.
@RawCoding
4 жыл бұрын
Hahha still cracks me up
@abdelkrimbournane7332
3 жыл бұрын
Hello, thanks for the tutorial. I want to ask you : what's the difference between a claim and any other field in the user table (if we extends IdentityUser table) thank you.
@RawCoding
3 жыл бұрын
Claim goes in the ClaimsPrincipal object, the others are just properties on the User object
@abdelkrimbournane7332
3 жыл бұрын
I got it thanks, I should've finished the video before asking the question. Great content, thank you
@codecorn6069
4 жыл бұрын
Hi. I have a question about "YearWorkedFilter" class in "YearsWorkedAttribute.cs" file. how Year property get value? in constructor, there is a [ Years = years; ] but how we get years at all?
@RawCoding
4 жыл бұрын
at 13:33 you can see we pass the value in the constructor (therse no 'new' keyword), github.com/T0shik/rolesvsclaimsvspolicy/blob/master/Claims/PolicyHandlers/YearsWorkedHandler.cs here's the class you can see we set year to Year.
@gasletel
5 жыл бұрын
Thumbs up for the intro
@RawCoding
5 жыл бұрын
Haha :D
@albertogalvan3425
3 жыл бұрын
awesome!
@RawCoding
3 жыл бұрын
cheers
@hadibazmi6340
3 жыл бұрын
love the them song:D
@RawCoding
3 жыл бұрын
Hehe
@martink4975
4 жыл бұрын
I know this is an old video, but this one was one of the better once on the subject. Something clicked when you described policies as functions, which made me wonder about a scenario. If you have a Blog site and want to limit the amount of blogs a user can create, would you use a claim with a policy to check if the max limit has been reached on CreateNewBlog action (get/post) ? OR would you do something simpler like checking the DB when the user is inside the CreateNewBlog action ?
@RawCoding
4 жыл бұрын
Thank you, and you'd check the db no need to store it as claim. And in my auth series, (episode 3 or 4 I think) I explain how dotnet core provides resource based authorization.
@martink4975
4 жыл бұрын
@@RawCoding Amazing! I hope i can repay the time and effort you put into your educational content, just got to get that full stack job. thx again and have a wonderful weekend my man.
@RawCoding
4 жыл бұрын
@@martink4975 thank you man, don't forget to wash your hands
@samlama6223
3 жыл бұрын
Hello great tutorial, but quick question IAuthorization filter to validate claim for controller, but does it validate TokenValidationParameters?
@RawCoding
3 жыл бұрын
Don’t know
@edward_t450
4 жыл бұрын
Nice vídeo, Nice Channel. Alrewdy subscribed
@RawCoding
4 жыл бұрын
Thank you! Don't forget to join the discord server!
@christianrazvan
2 жыл бұрын
Good intro!
@RawCoding
2 жыл бұрын
Hehe
@baoshenyi
5 жыл бұрын
Roles are required: a) admin has access functions b) not admin has no access to functions Claim = Role + other business rules (complicated authorization) a) admin + 5 years employee has access functions Policy : use Claim to apply the authorization, which could make claim easy to be coded
@baoshenyi
5 жыл бұрын
Is this a good way to understand it? If authorization is complicated, role will be chosen and without policy?
@RawCoding
5 жыл бұрын
I think you understand Roles correctly. Claims are not specific to Authorization but rather they define a user, You can then take a step to use the user definition to apply authorization using policies. Hope this helps.
@khusravkholmatov3667
4 жыл бұрын
Thanks
@RawCoding
4 жыл бұрын
Thank you for watching
@ibknl1986
4 жыл бұрын
Good video
@RawCoding
4 жыл бұрын
Cheers
@vandeljasonstrypper6734
4 жыл бұрын
Hi man, In the new ASP.NET CORE the parameter of the controller can seem to read the Json object from the body of POST REQUEST from postman or nightingale Did you recently encounter this before ?
@RawCoding
4 жыл бұрын
If the http method is POST and the body of the request contains text that happens to be json, the dotnet core [FromBody] attribute will try to model bind that json to your model. It doesn't matter where the request is coming from. This has been working since v1 I think.
@vandeljasonstrypper6734
4 жыл бұрын
@@RawCoding I fixed it, turn out I remove the object and just throw the attributes to it and it automatically work. I have struggle all day with it
@RawCoding
4 жыл бұрын
Good job.
@esnatzea
4 жыл бұрын
Nice intro bro!
@RawCoding
4 жыл бұрын
haha thank you
@PerryCodes
2 жыл бұрын
IsAdmin claim vs Admin role… I still don’t have a clue what the pros and cons are and what situation each might be best used in…
@RawCoding
2 жыл бұрын
Claims describe a user, Roles are just claims with an extra layer. So just use claims really
@isnakolah
3 жыл бұрын
A like for the intro 🤣🤣🤣🤣🤣
@RawCoding
3 жыл бұрын
Eyyy
@realliveone
4 жыл бұрын
If you weren't scrolling like a maniac when showing the code, I would know what's in it.
@RawCoding
4 жыл бұрын
lol, gotta go fast man! source code is available :)
@marvincorreia2040
3 жыл бұрын
God damn nice intro kkk
@RawCoding
3 жыл бұрын
))
@abhikale3946
Жыл бұрын
😘😘 your intro...
@kinggoncalo1587
3 жыл бұрын
Can u tell me whats the password for the admin ?
@RawCoding
3 жыл бұрын
Always password
@psalterynbass
5 жыл бұрын
Where is the git repository?
@RawCoding
5 жыл бұрын
Thank you for watching the video, link to the git repo is in the description
@akbare-z815
3 жыл бұрын
dope intro
@RawCoding
3 жыл бұрын
Haha cheers
@mohammadkheder8994
4 жыл бұрын
thank you . if i create new role on runtime , how i can give this new role permission on specefic method at runtime.
@RawCoding
4 жыл бұрын
It's a complicated thing to make, I can't explain in a comment.
@mohammadkheder8994
4 жыл бұрын
@@RawCoding thank you ,do you know vedio explain this ?
@RawCoding
4 жыл бұрын
@@mohammadkheder8994 No, it takes time and skill to properly implement what you are asking for.
@workcompe-bill4780
Жыл бұрын
Please redo this presentation. I've only found your channel a few days ago and I've watched many of your presentations. Wow! You have one of the most well articulated and thought-out set of videos but this one got away from you. You are all over the place. Although I understood the content and it made sense, I personally have struggled with staying focused. It was as if you were uncertain, disconnected, or at best you were forced into doing this video and didn’t want to. It very much seamed like you were an amateur that you are most certainly not! I am a loyal fan now, but not of this particular production.
@RawCoding
Жыл бұрын
Good shout I’ll remake it, thank you.
@RawCoding
Жыл бұрын
video will be up next week.
@RagdollRocket
4 жыл бұрын
intro gave me superpowers. and a slight headache =)
@RawCoding
4 жыл бұрын
Hahaha well balanced
@sammygimnyigei
5 жыл бұрын
i hope ill find a video on third party accounts by you
@RawCoding
5 жыл бұрын
Hey what do you mean third party accounts? You mean external authentication?
@sammygimnyigei
5 жыл бұрын
@@RawCoding yes OAuth facebook,twitter etc
@RawCoding
5 жыл бұрын
@@sammygimnyigei yes I. Will be covering that including identity server.
@sammygimnyigei
5 жыл бұрын
@@RawCoding imm looking forward to it
@yuhechen7258
4 жыл бұрын
Congratulate everyone who come across this video.
@RawCoding
4 жыл бұрын
Thank you everyone for watching!
@LienNguyen-vq1qv
2 жыл бұрын
the video image is too poor, you need to fix it more
@RawCoding
2 жыл бұрын
Fix more
@demiryasinoruc
4 жыл бұрын
Like for first 10 seconds
@RawCoding
4 жыл бұрын
Haha thanks =)
@wisnu7734
3 жыл бұрын
Hi...just advice...i'm from asia..my english is not that good..so please talk slowly and using easy vocabulary on the next video...🙏🙏🙏
@RawCoding
3 жыл бұрын
Apologies
@craige7485
4 жыл бұрын
Could you please give me this code. I need it for a school project.
@RawCoding
4 жыл бұрын
Did you check the description?
@hidaya1538
2 жыл бұрын
The into hhhhhhhhhhhhhhhhhhh
@nemanjacvetkovic3003
2 жыл бұрын
I've learned a lot from you videos. Thanks. But this one is you worst video sorry.
@RawCoding
2 жыл бұрын
Oh yea it was made long time agon
@absmand
3 жыл бұрын
downvoted due to intro.
@RawCoding
3 жыл бұрын
Sad you feel that way
@ahmmedisthebest
4 жыл бұрын
Oh man I disliked because of the first seconds You deal with nervous viewers because they have problems to solve. They need something clear, organized, and formal, not this low American behavior.
@RawCoding
4 жыл бұрын
Nervous viewers? You come to this video when you have time to study not when it’s crunch time. And low American behaviour? Seriously? Sorry high and mighty Ahmed’s Tutorials.
@ahmmedisthebest
4 жыл бұрын
it's not about me and whether i have time or not this is supposed to be technical video and its intro is not this is it
@RawCoding
4 жыл бұрын
So this is to uphold the “technical ideology” standards for witch you’ve invented yourself. Not saying this video is done to a high standard but a lot of good educational content is fitted with silly jokes.
Пікірлер: 141