Reputation: 31
Following this guide:
Introduction to Identity on ASP.NET Core
Scaffold Identity in ASP.NET Core projects
If I run the app, and click on the "Register" link from the navbar, it redirects to: https://localhost:44397/Identity/Account/Register but if I try to create a new account and register
I get This page isn’t working If the problem continues, contact the site owner. HTTP ERROR 400 The same applies to the Login page
Upvotes: 0
Views: 2946
Reputation: 7180
Usually,the simplest steps to create a scaffolding project are as follows.
1:Create a new project then change the Authentication:
2:Click the project Add and then click New Scaffolded Item.
4:Override all files and choose the context as ApplicationDbContext then add
5:Migration and run project.Register first and then log in
Upvotes: 2