ASP.NET调试与IIS超时

最后打破了寻求帮助,我的客户端/ iis(不知道哪个)通常在约30s – 1分钟后超时,而在调试(逐步通过代码),这不仅导致我失去了我的位置,必须重新开始更快,造成更多错误),但是IIS Debug会话完全关闭,我必须再次预热整个会话。

什么是最好的方式来获得更多的时间在调试会话?

在IIS 7.5 Classic Pipeline上调试vanilla 3.5网站(而不是应用程序)

解决方法

如果将其设置为足够高,则设置连接限制有效。我想永远不会再被这个烦扰。 Here是我做的:

这假设您已经在IIS管理器中选择了IIS应用程序池

…In the Advanced Settings dialog Box,locate the Process Model section,and perform one of the following actions:

  1. Set Ping Enabled to False.
  2. Set Ping Maximum Response Time to a value that is larger than 90 seconds.

Setting Ping Enabled to False stops IIS from checking whether the worker process is still running and keeps the worker process alive until you stop your debugged process. Setting Ping Maximum Response Time to a large value allows IIS to continue monitoring the worker process.

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....