When creating a new .NET Core 2.1 web project with individual authentication, the project will be created with AccountController
and ManageController
alongside it.
The command is:
dotnet new mvc --auth Individual
However, where can I find the default AccountController
and ManageController
in .NET Core 2.2 new project? I need to modify my default login logic.
By default you cannot because from ASP.NET Core 2.1 Identity is being provided as Razor Class Library with the ASP.NET Core project templates. If you want to see those Identity related codes and customize then you have to Scaffold Identity in your project.
Moreover if you need ASP.NET Core Identity in MVC format then here is my GitHub Repository where Razor Page Identity has been converted to MVC in ASP.NET Core Version >= 2.2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With