ASP.. NET身份在我发布时打开

本文关键字:布时打 NET 身份 ASP | 更新日期: 2023-09-27 18:11:01

当我在服务器上发布我的MVC4 c#网站时,IIS认证"采取ASP. net的身份"。网络"正在自动打开。

如何让这个认证"关闭"?

ASP.. NET身份在我发布时打开

它与WebConfig中的代码一起工作:

<authentication mode="Windows" />
    <identity impersonate="false" />
<authorization>
    <deny users="?" />
</authorization>