views:

428

answers:

2

Can I use the asp.net 3.5 Password Recovery control in an mvc application?

We need to provide password retrieval capability for our mvc app and I would like to use the password recovery control which only works with a web form app ...

Thanks for any help provided.

Rob

A: 

A lot of server controls from Webforms will not work on MVC as designed. Check out the MvcMembership starter kit.

Gthompson83
A: 

Unlike Login and Logout, the Password Recovery feature does not come implemented in a brand new ASP.NET MVC project, however, adding this feature to an ASP.NET MVC project is actually pretty easy as the Membership class already has the core functionality built-in.

I've posted in my blog an explanation on how I did it:

http://www.hectorcorrea.com/blog/Password-Recovery-in-an-ASP.NET-MVC-Project.aspx

Hector