【发布时间】:2013-04-16 14:36:07
【问题描述】:
此方法是否已被弃用?在任何文档中都找不到任何信息。
这是我最初找到代码的地方:
http://blog.osbornm.com/2010/07/21/using-simplemembership-with-asp.net-webpages/
//Set up Simple Membership
WebSecurity.InitializeDatabaseFile(“SecurityDemo.sdf”, “Users”, “UserID”, “Username”, true);
在我看来它已经被这个方法取代了?
http://msdn.microsoft.com/en-us/library/gg569134(v=vs.111).aspx
这些方法是否完全相同,只是更改了名称?
【问题讨论】: