我想从ConfigureServices中发送一些遥测,例如,如果我缺少一个配置设置,我想发送一个事件到AI来跟踪它。public class Startup public void ConfigureServices( IServiceCollection services) services.AddApplicationInsightsTelemetryTelemetryClient.TrackEvent("MyEvent");} 有没有办法在Co
我认为这是LogLevel的问题,但似乎我找不到正确的设置: public void ConfigureServices(IServiceCollection servicesservices.AddControllersWithViews();
services.AddApplicationInsightsTelemetry(Configuration["ApplicationInsights"Microsoft.Hosting.Lifetime": "I