In restricting password in MVC, how can I implement this restriction?
8 character minimum, cannot be same as username, must have 1 special character, 1 number, 1 upper case letter and 1 lower case letter
Hi florenz,
Refer below article which will give you idea about how to use data annotations in mvc
once you are done with above article you need to use regular expression for validating the password so for regular expression which will validate password follow below article
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.