在asp.net 4.5.1中的Web表单中使用身份和角色 [英] Using Identity and roles in web-forms in asp.net 4.5.1

查看:51
本文介绍了在asp.net 4.5.1中的Web表单中使用身份和角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找到一个很好的演练或如何使用具有附加角色的新身份认证系统的示例.在VS 2013中创建新网站时,还存在一个Account文件夹,并且在数据库中,您的表也已连接到角色.但是所有可用的示例都已连接到MVC!是否有人链接到不使用MVC的良好Identity用户或程序员指南?

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.

推荐答案

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

它提供了全面的知识和知识.像

It gives thorough knowledge & details like,

  • 创建/管理角色
  • 向用户分配角色
  • 基于角色的配置

更新:此处是用于空项目的Web表单的Asp.net身份教程&现有的网络表单.对于角色自定义,您可以参考

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.

这篇关于在asp.net 4.5.1中的Web表单中使用身份和角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆