I am back after long interval with some new and exciting stuffs.
Today i will explain how can we write our custom code in ASP.NET MVC for user account management like Login, User Registration, Password Change, Password Reset etc. Will we see each one of them in a series of post.
Step 1: Create a new project from visual studio and select MVC template as project type.
Step 2: In the solution explorer you will see a Models folder. Right click and add a new class named “UserAccountModel.cs”
Step 3: Create a new public class named “Login” in UserAccountModel.cs with below definition.