I am trying to make employee registration page in asp.net with database as MongoDB. What I want to do is to have the unique email id, when a user tries to register with a email id it should show that email id already exists in the database I am not able to figure out how to do this in MongoDB...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.