我想试试Microsoft.ApplicationInsights遥测。文档声称 TelemetryContext应该在Microsoft.ApplicationInsights.Contracts命名空间中,但是当我从 nuget获取Application Insights for WebMicrosoft.ApplicationInsights时(它让我成为依赖项),它似乎没有Contracts。
Microsoft.ApplicationInsights.Contracts nuget search 没有结果。
我必须在这里遗漏一些明显的东西。