TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rupesh Kahane
103
19.1k
4.2m
Authorize issue for Custom Roles Based Access Control in MVC
May 27 2016 9:34 AM
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?
Reply
Answers (
1
)
how to get selected checkbox values from gridview
I need basic programs related to ASP. NET along with C#