Hello Mr Venkat and thank you. You have the best channel in you tube and i am really really thanks. Please tech about partial view and passing data in and out.
I do find it strange that the RequireRole and IsInRole methods both take a string of role name as parameter. The app will stop working if user goes to the Edit Role page and change the name of the roles.
In my ListRoles.cshtml, the below code has the error "The name 'authorizationService' does not exist in the current context". How to fix this? @if ((await authorizationService.AuthorizeAsync(User, "EditRolePolicy")).Succeeded) {
In asp.net core mvc all the assigned claims of the user are send in the token to the browser? If yes then i have angular + dot net core web api and sending jwt token to the browser and my application authorization is based on claims (have more than 30 claims) not on role, so instead of creating policy for each claim can i put all the assigned claims of the user in the token (as roletype) and do like [Authorize(Roles = "edit patient")] on the controller method? Is it a correct way? Please reply, Thank you
Hi Govind, According to me an interface which having 10 methods. and any two class which are inheriting same interface. then you have to give implementation of those 10 method which are defined in interface in both the classes. But you can achieve by interface segregation principle then you have keep 5-5 method in different different Interface. If you have better idea please suggest me.
Happy Teachers Day Venkat, you are my Tech Guru, Appreciate your efforts towards keeping IT Professional's up to date to the current market need.
Didn't know about that...
Happy Teacher's day sir. You r the best teacher and guru in my life. Thank You and God bless You sir.
Thank you Prosun. Means a lot. Feel greatly honoured with all of your wishes. All the best with everything.
Hello Mr Venkat and thank you. You have the best channel in you tube and i am really really thanks. Please tech about partial view and passing data in and out.
Happy Teachers Day, Venkat Sir !!!
Dear Venkat, your videos are all simply awesome. Thank you so much for your immense contribution in technology.
Venkat can we request you to make some vids on MICRO SERVICES ARCHITECTURE CONTAINER STUFF please??
Thanks... It´s so Helpful excellent content
tooo good sir
Thank you... VENKAT Garu..waiting for 100th episode..what NEXT??
Thank you so much
you have 10s of modules with large sets of permissions. how do you handle that ? Do you add everything in the addPolicy?
I do find it strange that the RequireRole and IsInRole methods both take a string of role name as parameter.
The app will stop working if user goes to the Edit Role page and change the name of the roles.
Please do add a lecture on partial views and Ajax/jQuery in this series.
Thankyou
In my ListRoles.cshtml, the below code has the error "The name 'authorizationService' does not exist in the current context". How to fix this?
@if ((await authorizationService.AuthorizeAsync(User, "EditRolePolicy")).Succeeded)
{
Edit
}
i think you are not created instance named authorizationService for AuthorizeService class
In asp.net core mvc all the assigned claims of the user are send in the token to the browser? If yes then i have angular + dot net core web api and sending jwt token to the browser and my application authorization is based on claims (have more than 30 claims) not on role, so instead of creating policy for each claim can i put all the assigned claims of the user in the token (as roletype) and do like [Authorize(Roles = "edit patient")] on the controller method?
Is it a correct way? Please reply,
Thank you
Is it possible to have a users role or claim update in the project without them logging out
one interface have 10 method and in class A we want to use 5 method and another 5 method in class B how we achieve
Hi Govind, According to me an interface which having 10 methods. and any two class which are inheriting same interface. then you have to give implementation of those 10 method which are defined in interface in both the classes.
But you can achieve by interface segregation principle then you have keep 5-5 method in different different Interface.
If you have better idea please suggest me.
Can you Give Video on "MongoDB, Windows Service bus"