Extending AccountController: ASP.NET MVC Membership

后端 未结 1 908
梦如初夏
梦如初夏 2021-02-03 15:14

The ASP.NET MVC 1.0 (final) project template has basic membership built in, but I need to extend it in two ways:

  • Email Confirmation to validate ne
1条回答
  •  温柔的废话
    2021-02-03 16:05

    There's really not much different about the MVC framework, as it applies to the Membership provider. It's not quite as seamless but the functionality is similar. The ASP.NET membership is as close to a standard as the MVC platform has at the moment. But if you use the interface provided by the Membership service, you should be able to plug in your own membership or profile provider, if it becomes necessary.

    Here is a blog entry for someone who implemented the email validation in MVC.

    I prefer that the additional information be part of the application database but if you want it as registration information the ASP.NET Profile provider should work for you in MVC. There is an example in Part 6 of the series you have linked that should give you a good overview of the functionality. Here is an question from this site that may help you if you run into trouble getting it to work.

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