AD authentication in Asp.Net Core

Joe Green 146 Reputation points

I'm new to Asp.Net Core. I would like to design an MVC intranet application which will use corporate AD (not Azure AD). I want users to enter their AD Username and Password along with AD domain as we have multiple corporate AD domains. After login, as per users role, they will see a different page (e.g. Admin vs non-admin users).

In Visual Studio 2019 I selected ASP.NET Core Web App (MVC) template. Under Authentication, I see following options
Individual Accounts
Microsoft Identity Platform

Which one should I use?


A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce ( 61,491 Reputation points


    If you pick windows, then iis should be configured to require security, either basic or Kerberos. Then iis will pass the user token to the core app, which will create user principal.

    If you means the app should have forms authentication that uses the the ad, then there is no default. This will be a custom. I’d pick none, and manually add cookie authentication.

0 additional answers

Sort by: Most helpful