更新时间:2023-02-15 19:39:55
用其他任何人试图解决此问题,我得到了想要的结果,如下所示:
case anybody else trying to resolve this, I got the results I wanted with the following:
loggerFactory.AddApplicationInsights(app.ApplicationServices);
使用Application Insights在Azure上进行ASP.NET Core跟踪日志记录
如何在Asp.Net Core项目中使用Application Insights启用依赖项跟踪