简体   繁体   中英

Virtual Assistant Template Currently Uses TelemetryClient But Is Deprecated

In the Virtual Assistant template ( https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/csharp/Template/VA ) the current Startup.cs file is using TelemetryClient on line 72. However, according to this github issue ( https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 ), it is being deprecated.

What is the suggested change that I should make in my code in order to fix this going forward? Will the template be updated to reflect this?

TelemetryClient is NOT being deprecated. Per the issue that you linked, TelemetryConfiguration.Active is being deprecated. A quick search of the VA bot github repo show that TelemetryConfiguration.Active is not used anywhere in the bot:

github 存储库显示没有搜索 Telemetryconfiguration.active 的结果

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM