Reputation: 131
asp.net identity core - there's no controller classes found on my project using vs 2019
no account controller was generated so if i need to edit on login/logout etc need to write the logic again from scratsh
but in asp.net mvc5 was different and there were a controller code .
Upvotes: 1
Views: 1141
Reputation: 741
In asp.net core identity default application, there are no visible stuff(controllers,views) related to the identity management. You have to add them to your project as Scaffolded items.
Right click on your project then click on "Add" => "Add new Scaffolded Item".
Then in "Add new Scaffolded item" screen select "Identity" and click "Add" button.
Then in the next UI , you can choose whatever the file you need to modify.
Please note that this scaffolded identity is not using controller concept, they are Razor pages.
Upvotes: 4