asp.net – 启用Application Insights会使Web应用程序挂起

在我的Web项目上启用Application Insights后,它可以运行几个请求,但随后所有请求都会无限期挂起.这是使用Visual Studio调试器在本地运行的.使用fiddler,我可以看到请求正在等待响应,这种情况永远不会发生.没有错误.最终Visual Studio也挂了,我需要杀掉它.

我正在使用Visual Studio 2013更新4.
我右键单击了我的Web项目,然后单击Add Application Insights Telemetry.
接下来,我从ApplicationInsights.config中删除了Instrumentation Key,因为我不希望遥测用于本地开发. Instrumentation Key将在实时应用程序的Azure App Settings中设置.

如果我在没有Application Insights的情况下退回,我就不会挂起.

有任何想法吗 ?
谢谢!

解决方法

我运行2.0.0-rc1并遇到了这个问题.在ApplicationInsights.config中注释这行代码也解决了这个问题.
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule,Microsoft.AI.PerfCounterCollector">

将Application Insights升级到2.0.0也为我解决了这个问题.谢谢Anastasia&阿伦!

相关文章

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