ASP.NET Core和本地AD身份验证 [英] ASP.NET Core and on premise AD authentication
问题描述
我想在工作场所尝试使用ASP.NET Core MVC或Web API,但是我们只有Active Directory可以进行身份验证和授权。是否有任何解决方案可以通过内部AD解决,或者我们必须更改Java?我知道这个问题不是原始问题,但是请给我一个简单的答案。
I'd like to try and use ASP.NET Core MVC or Web API at my workplace but we have just Active Directory to authentication and authorization. Is there any solution to solve it with an on premise AD or we have to change for Java? I know this question is not original but I'd like to get a simple answer to it, please.
推荐答案
Microsoft已发布 System.DirectoryServices
的预发行版本。您可以使用以下命令从NuGet软件包管理器中获取它:
Microsoft has released pre-release version for System.DirectoryServices
. You can get it from NuGet package manager using this command:
Install-Package System.DirectoryServices -Version 4.5.0-preview1-25914-04
到目前为止,这对我来说还不错。
This is working fine for me till now.
这篇关于ASP.NET Core和本地AD身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!