asp.net - 如何检查 IIS 是否使用了 machine.config 文件中的更改?

标签 asp.net windows azure iis machine.config

我在 C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config 的 machine.config 文件中添加了一些参数。

<system.net>
     <connectionManagement>
         <add address="*" maxconnection="24" />
     </connectionManagement>
 </system.net>
 <system.web>
     <processModel autoConfig="true"
         maxWorkerThreads = "100"
         maxIoThreads = "100"
         minWorkerThreads = "50"
         minIoThreads = "50"
     />
     <httpRuntime 
         minFreeThreads="176" 
         minLocalRequestFreeThreads="152" 
     />
 </system.web>

如何检查 IIS 中的更改是否受到影响?

最佳答案

Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config: Holds the global defaults for the .NET framework settings, including some of the ASP.NET ones (the rest of the settings are in the web.config at the same folder, which is sometimes called the root web.config).

ConnectionManagement 应该可以通过尝试打开超过指定数量的主机连接来轻松测试。更多详情可以引用这个issue .

关于asp.net - 如何检查 IIS 是否使用了 machine.config 文件中的更改?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55804675/

相关文章:

c++ - "SendMessage"到 C++ 中的 3 个不同进程

azure - 使管道任务在所有作业后任务之后运行

Azure 数据工厂 v2 - OData - 复制数据 - XmlError 十六进制值 0x1F 是无效字符第 1 行,位置 1

c# - MachineToApplication 超出应用程序级别 - 这个错误是什么意思?

c# - ASP.NET 模块依赖注入(inject)

asp.net - 了解 runat 服务器属性

css - 由于 HTML5 ASP.net 中的 DOCTYPE,100% 高度不起作用

windows - PE header 和 LARGEADDRESSAWARE 未针对 DLL 模块进行评估?

c++ - d3d9.h 是否包含 windows.h? (C++)

azure - Azure 中可用区的限制