Tuesday, June 19, 2018

How does IIS enable Windows authentication on Kestrel in ASP.NET Core ?

Hi,

So, it is possible to do windows auth with ASP.NET Core, if it is hosted on IIS. You configure the auth on IIS but the Program.cs file is the same (default webhost builder = kestrel). My question is, does anybody know how does this happen ? How does IIS pass this information to Kestrel/ASP.NET Core ?

It's really frustrating how much magic is involved in these things. We are trying to figure out what's the best way/workaround to use Windows Auth on Linux (or at least some aspects of it, since its not really possible), but I absolutely want to know HOW is it even possible with IIS.

Thanks.

How does IIS enable Windows authentication on Kestrel in ASP.NET Core ? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team