This repository was archived by the owner on Jun 10, 2020. It is now read-only.
v2.0.0-beta1
Pre-release
Pre-release
- This release contains a rewrite of the SDK internals for better .NET Core integration and initialization.
UseApplicationInsightsRequestTelemetryis obsolete, the logic it used to perform is handled automatically now and calls to this method should be deleted from Startup.cs.UseApplicationInsightsExceptionTelemetryis obsolete, exception telemetry is handled automatically internally now. You should delete calls to this method from Startup.cs otherwise you will get duplicate exception telemetry reported.- The MVC dependency for the JavaScript snippet has been removed so in order to include the JavaScript snippet now you need to make the following changes:
- In _ViewImports.cshtml replace
@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfigurationwith@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet - In _Layout.cshtml replace
@Html.ApplicationInsightsJavaScript(TelemetryConfiguration)with@Html.Raw(JavaScriptSnippet.FullScript)
- In _ViewImports.cshtml replace
Depends on:
- Application Insights Core 2.2.0 SDK
- AI Dependency Collector (.NET framework only)
- AI Performance Counter Collector (.NET framework only)
- AI Windows Server Telemetry Channel (.NET framework only)