Aspnet web site administration tool, Users table or aspnet_users table

前端 未结 1 1664
离开以前
离开以前 2021-01-01 01:42

Why do my users and roles end up in Users and Roles tables and not aspnet_users and aspnet_roles?


When I use the Aspnet web site administrati

1条回答
  •  借酒劲吻你
    2021-01-01 02:04

    Old school ASP.NET 2.0+ providers (System.Web.XXX.SqlXXXProvider)
    --> Uses the aspnet_Users and aspnet_Roles tables, via stored procs.

    The new Universal Providers (System.Web.Providers.XXX)
    --> Uses the Users and Roles tables, via (EF-generated?) SQL.

    More info here (from Mr Scott H): http://www.hanselman.com/blog/IntroducingSystemWebProvidersASPNETUniversalProvidersForSessionMembershipRolesAndUserProfileOnSQLCompactAndSQLAzure.aspx

    0 讨论(0)
提交回复
热议问题