How to add asp.net identity in asp.net core with v

2019-07-13 02:42发布

问题:

This is my first project in asp.net core and now have come to the point where I need to implement asp.net identity for core mvc application in visual studio code.

I looked up but neither I can find any blog and any document on Microsoft sites how to do it. If anyone can help me out, it will be great and sure many other will get answer to this.

Thanks, Girish

回答1:

You can create new project using dotnet new mvc --auth Individual command and then copy identity-related code to your project.