Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All!
Can anyone please tell me how to change the password in MVC 5 ...
thanks in advance
Posted

If you are using identity framework, password reset is not difficult to build.
Some examples -
Create a secure ASP.NET MVC 5 web app with log in, email confirmation and password reset [^]
Implementing custom password policy using ASP.NET Identity[^]

There is no hard and fast rule that you need to use Identity Framework.
You can build your own custom password reset scenarios.
 
Share this answer
 
v2
Comments
Mohd Afzal 12-Apr-15 5:02am    
Hi bro!
i dnt know about Asp.net identity can u suggest me please how can i make the efforts to change the password.
ASP.NET MVC 5 uses Identity framework for authorization and authentication processes. You need to look for a method in Identity framework, not in MVC 5; which is just the version of MVC framework.

This article[^] on ASP.NET's official documentation, explains the code that you can use to change password, or perform other stuff with user's account. You will find answers to other questions there also. Just navigate through the menu and links. It guides you to reset password, also to change the password. For other detailed information on UserManager.ChangePassword function of Identity framework of ASP.NET, please read MSDN resource[^].
 
Share this answer
 
Comments
Mohd Afzal 12-Apr-15 5:01am    
Asklm bro!
i'm not geting u can u please help me out.
Afzaal Ahmad Zeeshan 12-Apr-15 7:21am    
Wa alaikum-us-salam!

Did you read the attached links? They will clarify the rest of the problem for you.
Mohd Afzal 12-Apr-15 10:16am    
I did bro but i'm a fresher i'm not getting it upto the mark!
i've to do it at any cost

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900