Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Authorize issue for Custom Roles Based Access Control in MVC
Rupesh Kahane
May 27 2016 9:34 AM
341
Reply
I have implemented below Custom Roles Based Access Control. First time when user going to logg into my web application.
In class RBACAttribute When I put debugger in below class then it is checking whole controlers in my web application (i.e project)
public override void OnAuthorization(AuthorizationContext filterContext)
{
string requiredPermission = String.Format("{0}", filterContext.ActionDescriptor.ControllerDescriptor.ControllerName);
}
Why first time it is checking for all controllers?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how to get selected checkbox values from gridview
I need basic programs related to ASP. NET along with C#