Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的 ASP.NET MVC 4 应用程序中使用SimpleMembershipProvider,但我找不到任何有用的信息如何将用户信息存储在 MSSQL 数据库中?
任何人都可以帮助我吗?
如果您将连接字符串更改为指向新数据库并转到使用 AccountController 的 SimpleMembership 页面(视图),它应该为您制作适当的表。
AccountController 应该应用了 [InitializeSimpleMembership] 过滤器——这就是魔法发生的地方。