Last post Jul 25, 2020 04:44 AM by achinb
Jul 24, 2020 07:23 PM|achinb|LINK
I have followed this document
well. But, when I'm running the app and navigate to Register page, it's indicate this error, System.NullReferenceException: 'Object reference not set to an instance of an object.'
What can be the problem? I'm using visual studio 2019.
Please help. Thank you!
Jul 25, 2020 04:44 AM|achinb|LINK
I need to provide [HttpGet] method in AccountController.cs
Below is sample code for Register,
// GET: /Account/Register
public ActionResult Register()
RegisterViewModel register_Model = new RegisterViewModel();
We need to do this on every pages Login, password rest etc...