选择 Angular 模板时,VS 15.3 除了“无身份验证”之外没有提供其他身份验证选项。我将在 View 中引用 Angular 组件。如何在应用程序中获取身份验证功能?时间差
最佳答案
您可以创建带有身份验证的 ASP.NET Core 2.0 非 SPA 项目。然后,您可以将与服务器端身份验证相关的类和其他功能添加到您的 SPA 项目中。
另外请参阅以下文档: https://learn.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/identity-2x - 和 - https://learn.microsoft.com/en-us/aspnet/core/security/authentication/
关于angular - 身份验证 - VS 2017 15.3; ASP.Net Core 2.0; Angular ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45825925/