Комментарии:
Thank you I am new in DOT Net and this really helped Alot. Thank you!!!!!
Ответитьgreat video sir, sir, if the menu we use is menu responsive from css@bootstrap, not the menu from visual studio provide, can we use this way also?
ОтветитьThank you very much .
ОтветитьI thought we provide different content and links through different layouts that are set through if conditions in _ViewStart ... as in :
if (User.IsInRole("Admin"))
{
Layout = "_AdminLayout";
}
....etc
Tq
Ответитьwhere the user comes from in layout view?!
Ответитьyou are a professional teacher thanks a lot
ОтветитьI just want to thank you for this video series, you helped me a lot!
Ответитьdo you have any videos that will allow me to add hyperlinks to the razor page from the controller class
ОтветитьCan anyone tell me how to implement global logout in .net core 3.1?
ОтветитьThank you so much for this video. It was incredibly helpful.
ОтветитьSir your all topics is unique and very helpful thanks for uploading and supporting
ОтветитьI have a problem. When I set the [Authorize(Roles = "Admin")] for AdministrationController, no matter what Role do I have, it always takes me to LogIn page (Account/Login?ReturnUrl=%2FAdministration%2FListRoles). I saw a solution to make custom decoration for role authorization, however, I would like to make it work the normal way, with [Authorize(Roles = "Admin")]. Does anyone managed to solve this?
ОтветитьHi everyone.. A small query, if access is denied then it could have gone to other controller, why only the account controller..please help me out to understand that..
ОтветитьFor the role process to work, the process model has to be out of process
ОтветитьI have a user is Admin Role, cant get access to Administration page(redirects to Access Denied page) and razor page link is hidden when Authorization attribute is applied. Tried logout and login, cleared cache and checked database everything looks fine. Can someone help?
ОтветитьGot this error: "The type or namespace name 'SignInManager<>' could not be found (are you missing a using directive or an assembly reference?) [MDPWeb]csharp(CS0246)" and " The type or namespace name 'ApplicationUser' could not be found (are you missing a using directive or an assembly reference?) [MDPWeb]csharp(CS0246)" Im using Visual Studio Code .
Ответить