如何使用Visual Studio代码在ASP.NET Core中添加ASP.NET身份 [英] How to add asp.net identity in asp.net core with visual studio code
问题描述
这是我在asp.net核心中的第一个项目,现在到了要在Visual Studio代码中为核心mvc应用程序实现asp.net身份的地步.
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.
我抬起头来,但找不到任何博客和Microsoft网站上的任何文档.如果有人可以帮助我,那将很棒,并且可以肯定会有很多其他人对此做出答复.
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.
谢谢, 吉里什(Girish)
Thanks, Girish
推荐答案
您可以使用dotnet new mvc --auth Individual
命令创建新项目,然后将与身份相关的代码复制到您的项目中.
You can create new project using dotnet new mvc --auth Individual
command and then copy identity-related code to your project.
这篇关于如何使用Visual Studio代码在ASP.NET Core中添加ASP.NET身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!