Windows authentication in asp.net 5

前端 未结 9 1421
别跟我提以往
别跟我提以往 2020-11-29 08:00

I am building an intranet application in ASP .NET 5, MVC 6. I want to know how to enable Windows Authentication.? The default project template supports only Individual User

9条回答
  •  隐瞒了意图╮
    2020-11-29 08:28

    For RC1 & IISExpress from an empty Web Application:

    • Right click web project, select Properties
    • Click Debug tab, check Enable Windows Authentication

    This affected ~/Properties/launchSettings.json as follows:

    "windowsAuthentication": true,
    "anonymousAuthentication": false,
    

提交回复
热议问题