Search code examples
asp.net-mvcasp.net-coreasp.net-identityvisual-studio-code

How to add asp.net identity in asp.net core with visual studio code


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


Solution

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