如何读取MaxConcurrentRequestsPerCPU的当前值
如何从代码中读取 MaxConcurrentRequestsPerCPU 设置的当前值,即当前应用程序池的值?我并不是说从配置文件中逐字读取它,而是读取当前有效的“已解析”值,无论它设置在哪里(即注册表、machine.config、web.config...)
How can I read the current value of the MaxConcurrentRequestsPerCPU setting from code, i.e. for the current application pool? I don't mean reading it literally from a config file, but rather read the "resolved" value that is currently effective, regardless of where it was set (i.e. registry, machine.config, web.config...)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试阅读
这仅适用于 .NET 4.x
Try to read
This only works for .NET 4.x