Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Email Already Taken Validation ASP.NET Core 2.0 Razor Pages

$
0
0

With the Microsoft solution out of the box it has the ability to tell me when I make a new user in my sight that if the username is the same as someone else's then it will say: "User name 'username' is already taken."

I would like to know the way to keep this validation and add one where it will same the same thing about User email. I want everyone's' email to be unique in the database. 


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>