ASP.NET Core 和本地 AD 身份验证 [英] ASP.NET Core and on premise AD authentication

查看:41
本文介绍了ASP.NET Core 和本地 AD 身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的工作场所尝试使用 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆