Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Identity and roles in web-forms in asp.net 4.5.1

I am trying to find a good walkthrough or example of how to use the new Identity authorization system with added roles. When you create a new website in VS 2013 there is also an Account folder and in the database you have the tables also connected to roles. But all examples available are connected to MVC! Does anybody have a link to a good Identity users or programmers guide that does not use MVC?

Looking forward to any proposal in this matter.

like image 309
user3162086 Avatar asked Sep 30 '22 22:09

user3162086


1 Answers

Here is an excellent step-by-step significant informative tutorial as part of asp.net/webforms learning path.

It gives thorough knowledge & details like,

  • Create/Manage Roles
  • Assigning Roles to Users
  • Role-Based Configuration

Update: Here is Asp.net Identity tutorial for web forms for empty project & existing web-forms. For roles customization, you can refer this article. Though it is in MVC 5 but it applies to asp.net web-forms as well.

like image 136
Palak Bhansali Avatar answered Oct 28 '22 13:10

Palak Bhansali