Windows验证时,需要配置IIS,把匿名验证设为disable,windows验证设为enable,window7 默认为匿名验证为enable,windows验证为disable. 否则会system.web.httpcontext.current.user is null, 这个值会是空的 具体设置方法如下: Open IIS Manager and navigate to the level you want to manage. For information about openi…
https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x 支持的操作系统 以下操作系统的支持: Windows 7和更新 Windows Server 2008 R2和新† †概念,本文档中描述的IIS配置也适用于托管ASP.NET核心应用纳米服务器IIS,而是指ASP.NET在IIS服务器上的纳米核心为特定的指令 HTTP.SYS服务器(原名weblistener)与IIS赢得一个反向代理配置不工…