我已经实现了自定义 nhibernate 会员提供程序的工作解决方案以在mvc3
项目中使用。它是独立的 web.membership 项目,涵盖了我在网络应用程序中需要的所有内容。
现在我想切换到 mvc4,我注意到它使用了System.Web.Security.FormsAuthentication
类中的类Account controller
,它也使用了WebMatrix.WebData.Security
类。
如果有人知道有关如何编写自定义(nhibernate 与否)的有用教程,simple membership provider
那就太好了。
谢谢