Click here to Skip to main content
15,301,624 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to start learning

What I have tried:

I Need tutorial for learn login and registration concept for
Updated 9-Mar-21 22:58pm

Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search using your subject as the search term gave over half a million hits: Looking for tutorials : ASP.NET login and forgot password (MVC preferred) - Google Search[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.
Richard Deeming 10-Mar-21 4:56am
Of course, 90+% of those results will be utter insecure garbage. :)
OriginalGriff 10-Mar-21 5:22am
Yep. But if you're taking security advice from random websites you need to do loads of research, not just take the first answer that comes up ... or the GDPR fines you get will be well and truly deserved! :laugh:
Don't build a "forgotten password" feature. Your site should have no way to retrieve the user's original password. Instead, build a "password reset" feature:

Troy Hunt: Everything you ever wanted to know about building a secure password reset feature[^]

Use a framework such as ASP.NET Identity to build your authentication system, since it will take care of most of the details for you.

Introduction to Identity on ASP.NET Core | Microsoft Docs[^]
Introduction to ASP.NET Identity - ASP.NET 4.x | Microsoft Docs[^]

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