Asp.net mvc ADD身份验证帐户控制器



我在Visual Studio 2017中使用Azure身份验证创建了一个项目。在我的_LoginPartial.chtml中,我看到一行类似于:

<li><a asp-area="AzureAD" asp-controller="Account" asp-action="SignOut">Sign out</a></li>

但我在解决方案资源管理器中既没有看到AzureAD.asp区域,也没有看到AccountController。

它们现在是在微软dll中烘焙的吗?

是的,你说得对。

AzureAD.asp区域和AccountController是在Microsoft中烘焙的。AspNetCore。身份验证。AzureAD。UI dll。

有关详细信息,您可以在此处找到。