1:56 If you explain why we need the installed packages and usage of every package it would be great to know and grasp the knowledge. can you do it here...? it will be very helpful
I used JWT to make api .I made two roles Users and Employee so all data inserted in AspNetUsers table in database .i want to make a relationship between users with role User and another table called Bill and make relationship between users with role Employee with another table called Branch how i can do this by using Code First
@@OfficialCodeHub So I applied the authorization tag to a method in the user controller and it is now giving me a 401, Im still generating the token though
there might be 2 problems: 1. You might not be sending token correctly while accessing that method. 2. You might not have set the role inside the authorization tag correctly. You should share code of that method along with tag.
Does this tutorial allow a log in to be done without the user having to pass a token to postman, like it’s done in reality? That’s the missing piece of the puzzle
hi dear I did the same as in your video but when I tried the GET method nothing happened! I am using windows 11 should I do something releated to my firewall?
Amazing! Thank You so much. Could you please do the .Net Maui App that communicates with this api (sending & receiving data), crud operations where data is stored in sqlite on the phone
Use the zoom feature of your screencast recording tool properly. I don't know about others but I can barely see what you're doing. And that's what has earned your video a downvote.
Best Basic & Clear Concept of Role Based Video Ever ! Love you bro ❤
1:56 If you explain why we need the installed packages and usage of every package it would be great to know and grasp the knowledge.
can you do it here...?
it will be very helpful
Very well explained, everything structured and step by step.
thanks for the tutorial. it was to the point and straight forward.
Hey do you have a video for RefreshToken, if yes can you provide the link over here!
I haven't implemented custom refresh token in any video. After c# course, I'm planning about it.
I used JWT to make api .I made two roles Users and Employee so all data inserted in AspNetUsers table in database .i want to make a relationship between users with role User and another table called Bill and make relationship between users with role Employee with another table called Branch how i can do this by using Code First
Awesome tutorial thanks. What kind of tool/service did you use for your sound ?
I mostly use Metavoicer.
It's a great tutorial. It should be rate 4.5 stars
Thanks for rating 😁👍🏻
Great tutorial!
Im generating the token but not allowed access with either controllers with any token at all
I had to implement Policy and policy name to the authorize annotation, that solved the problem.
I also had a feeling that you're missing policies implemention. 😁
@@OfficialCodeHub So I applied the authorization tag to a method in the user controller and it is now giving me a 401, Im still generating the token though
there might be 2 problems:
1. You might not be sending token correctly while accessing that method.
2. You might not have set the role inside the authorization tag correctly.
You should share code of that method along with tag.
Does this tutorial allow a log in to be done without the user having to pass a token to postman, like it’s done in reality? That’s the missing piece of the puzzle
hi dear I did the same as in your video but when I tried the GET method nothing happened! I am using windows 11 should I do something releated to my firewall?
Have You added HttpGet annotation?
Brother your tutorial helps but, I Need Refresh Token Also. Can you please tell me how to implement that?
thanks for this video and I have a request to please use the react as a front end and use this API with it.
I don't have much (good 😁) experience with react. However, I'll try to make this video soon.
Amazing! Thank You so much. Could you please do the .Net Maui App that communicates with this api (sending & receiving data), crud operations where data is stored in sqlite on the phone
I'll try it after some time.
An admin is also user. What about this :D
I just gave a demo. You can rename user to employee... 😂
please complete flutter tutorial with asp. net core api
It's already completed.
Do you means using authentication and authorization?
@@OfficialCodeHub
yes
@@OfficialCodeHub
i want to know how using authentication in flutter and can i create authorizeview
Ok. Will be uploaded soon
Use the zoom feature of your screencast recording tool properly. I don't know about others but I can barely see what you're doing. And that's what has earned your video a downvote.
Do you wear glasses?
Please remove background noise. Its annoying.
Hh