我在.net Core3.0中有一个现有的应用程序接口项目,并且还使用异常中间件来记录异常。现在,我们需要在API中实现应用程序洞察。我浏览了很多链接,但我发现一些方法在新版本中已经过时了,比如app.UseApplicationInsightsExceptionTelemetry() and UseApplicationInsightsRequestTelemetry就连我也试着用TelemetryClient在中间件的catch块中,但是它已经过时
通过Nuget,我将WindowsAzure.Storage升级为8.1.1。UseDevelopmentStorage=true;
我没有做过任何代码更改,因为以前它显然运行良好。. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.at System.Net.HttpWebRequest.GetRespo