角色 class asp.net mvc?
Roles class asp.net mvc?
角色 class 存储他创建的角色的位置,支持此 class 的角色提供者的类型是什么?
是SqlRoleProvider吗?
here我想你会找到问题的答案。
阅读文章中的这一部分:
使用 SqlRoleProvider
If you want to store roles in SQL Server, you
use the SqlRoleProvider. By default, roles are stored in a database
named Aspnetdb in a SQL Express database instance in the \app_data
folder beneath your application's virtual directory root folder. You
can also configure the SqlRoleProvider to use a local or remote
instance of SQL Server.
角色 class 存储他创建的角色的位置,支持此 class 的角色提供者的类型是什么?
是SqlRoleProvider吗?
here我想你会找到问题的答案。
阅读文章中的这一部分:
使用 SqlRoleProvider
If you want to store roles in SQL Server, you use the SqlRoleProvider. By default, roles are stored in a database named Aspnetdb in a SQL Express database instance in the \app_data folder beneath your application's virtual directory root folder. You can also configure the SqlRoleProvider to use a local or remote instance of SQL Server.