NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #466 most downloaded on NuGet
Application Insights for .NET Core Worker Service (messaging, background tasks, and any non-HTTP workloads) applications. See https://docs.microsoft.com/azure/azure-monitor/app/worker-service for more information. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156
Last release 4 months ago
28 May 2026
Release timing varies
gaps range from 3 weeks to 1.4 years
Nearly every release is documented
notes for 21 of 22 stable releases
29 versions withdrawn
withdrawn after publishing
127 years old
52 releases · first in 1900
Fix HttpException: Request is not available in this context in the WEB package when calling TrackDependency from Application_Start in classic ASP.NET.
HttpException: Request is not available in this context in the WEB package when calling TrackDependency from Application_Start in classic ASP.NET. The WEB activity processors now safely handle the case where HttpContext.Request is not yet available.TelemetryConfiguration.CreateDefault() on classic ASP.NET now returns a configuration already populated from ApplicationInsights.config (connection string, sampling, storage, live metrics, request/dependency tracking, etc.). A new PreApplicationStartMethod (WebApplicationInsightsInitializer) materializes and populates the singleton before Application_Start runs, so customer code calling TelemetryConfiguration.CreateDefault() from Global.asax.cs no longer gets an empty configuration. The ApplicationInsightsHttpModule no longer carries the config-reading bookkeeping. TelemetryConfiguration.PrependOpenTelemetryBuilderConfiguration no longer throws if the configuration was already built — it silently skips, so a second TelemetryClient constructed against an already-built configuration no longer throws InvalidOperationException.One column per quarter.
Update OpenTelemetry and Azure Monitor dependencies to address known security advisories (e.g. GHSA-g94r-2vxg-569j in OpenTelemetry.Api 1.15.1): #3174
OpenTelemetry.Api 1.15.1): #3174
Make TelemetryContext properties public and propagate them via TelemetryClient .
TelemetryContext properties public and propagate them via TelemetryClient.APPLICATIONINSIGHTS_CONNECTION_STRING environment variable for Base, Web, and NLog packages when connection string is not set via code.OTEL_SDK_DISABLED not being honored when TelemetryConfiguration.DisableTelemetry is set in DI scenarios., #3157TrackAvailability ignoring user-specified Timestamp on AvailabilityTelemetry. The timestamp is now emitted as microsoft.availability.testTimestamp so downstream exporters can use the correct event time.netstandard2.0 target framework to Microsoft.ApplicationInsights package to support customers with shared libraries targeting netstandard2.0.TelemetryClient.Context.Cloud.RoleName set after construction now applies to all telemetry.NullReferenceException in TelemetryClient.Flush() and FlushAsync() when called from DI scenariosApplicationVersion ignored: ApplicationInsightsServiceOptions.ApplicationVersion is now applied as service.version on the OpenTelemetry Resource for both AspNetCore and WorkerService packagesHttpRequestExtensions.UnvalidatedGetHeader always returning empty string instead of the actual header value. Restored max-length enforcement to guard against oversized header values.Replaced netstandard2.0 with net8.0 target framework in Microsoft.ApplicationInsights.NLogTarget package.
Removed netstandard2.0 target framework from Microsoft.ApplicationInsights , Microsoft.ApplicationInsights.AspNetCore , and Microsoft.ApplicationInsig
netstandard2.0 target framework from Microsoft.ApplicationInsights, Microsoft.ApplicationInsights.AspNetCore, and Microsoft.ApplicationInsights.WorkerService packages.Microsoft.ApplicationInsights.AspNetCore has been updated to version 10.EnabledAdaptiveSampling and replaced with TracesPerSecond and SamplingRatioEnableTraceBasedLogsSampler property to ApplicationInsightsServiceOptions for ASP.NET Core and WorkerService packagesStorageDirectory and DisableOfflineStorage from TelemetryConfiguration in DI scenariosno changes since beta.
Populate required field Message with "n/a" if it is empty
no changes since beta.
Added support to read diagnostics config from the path defined in environment variable.
Do not report CosmosDB transport-level calls
Upgrade System.Diagnostics.PerformanceCounter to version 6.0.0 to address CVE-2021-24112
Update endpoint redirect header name for QuickPulse module to v2
- no changes since beta.
Address vulnerability in Newtonsoft.Json (GHSA-5crp-9r3c-p9vr). Mitigation is to upgrade dependencies in Microsoft.ApplicationInsights.AspNetCore
Newtonsoft.Json (GHSA-5crp-9r3c-p9vr).
Mitigation is to upgrade dependencies in Microsoft.ApplicationInsights.AspNetCore (#2615)
Microsoft.Extensions.Configuration.Json from v2.1.0 to v3.1.0.System.Text.Encodings.Web from 4.5.1 to 4.7.2.LOGGING: Make TelemetryConfiguration configurable in ApplicationInsightsLoggingBuilderExtensions
Shared to Microsoft namespaceSupport IPv6 in request headers
Nothing published for this version
Allow Control of Documents sampling for QuickPulse telemetry
- Support for .Net6
The `{OriginalFormat}` field in ILogger Scope will be emitted as `OriginalFormat` with the braces removed
{OriginalFormat} field in ILogger Scope will be emitted as OriginalFormat with the braces removedChange Self-Diagnostics to include datetimestamp in filename
AAD Breaking change: CredentialEnvelope.GetToken() now returns type AuthToken instead of string. This is to expose the Expiration value with the token…
Reduce technical debt: Use pattern matching
Fix PropertyFetcher error when used with multiple types
Fix: telemetry parent id when using W3C activity format in TelemetryDiagnosticSourceListener
Upgrade Log4Net to version 2.0.10 to address CVE-2018-1285
QuickPulseTelemetryModule and MonitoringDataPoint have a new Cloud Role Name field for sending with ping and post requests to QuickPulse Service.
ILogger LogError and LogWarning variants write exception `ExceptionStackTrace` when `TrackExceptionsAsExceptionTelemetry` flag is set to `false`
ExceptionStackTrace when TrackExceptionsAsExceptionTelemetry flag is set to false{OriginalFormat} field in ILogger will be emitted as OriginalFormat with the braces removedEventCounterCollector module does not add AggregationInterval as a dimension to the metric.
Support Request.PathBase for AspNetCore telemetry
Read all properties of ApplicationInsightsServiceOptions from IConfiguration
WorkerService package is modified to depend on 2.1.1 on Microsoft.Extensions.DependencyInjection so that it can be used in .NET Core 2.1 projects with
- no changes since beta.
Stop collecting EventCounters from Microsoft.AspNetCore.Hosting
New: JavaScript Property to support Content Security Policy
Fix: AspNetCore AddApplicationInsightsSettings() and MissingMethodException
Support new conventions for EventHubs from Azure.Messaging.EventHubs and processor.
Fix: AspNetCore AddApplicationInsightsSettings() and MissingMethodException
- no changes since beta.
Move FileDiagnosticTelemetryModule to Microsoft.ApplicationInsights assembly.
All product sdks are now building the same symbols (DebugType = FULL) and we're including symbols in the nuget package.
Fix: AspNetCore AddApplicationInsightsSettings() and MissingMethodException
Fix Endpoint configuration bug affecting ServerTelemetryChannel and QuickPulseTelemetryModule
Fix IndexOutOfRangeException in W3CUtilities.TryGetTraceId
Add support for collecting convention-based Azure SDK activities.
Standard Metric extractor for Dependency) add Dependency.ResultCode dimension.
Enable Metric DimensionCapping API for Internal use with standard metric aggregation.
BASE: [New: TelemetryConfiguration now supports Connection Strings]https://github.com/microsoft/ApplicationInsights-dotnet/issues/1221)
NETCORE: Updated Web SDK to 2.11.2
Patch release addressing perf regression.
BASE: New API to store/retrieve any raw objects on TelemetryContext to enable AutoCollectors to pass additional information for use by TelemetryInitia
NETCORE: Make W3C Correlation default and leverage native W3C support from Activity.
NETCORE: Make W3C Correlation default and leverage native W3C support from Activity.
NETCORE: Make W3C Correlation default and leverage native W3C support from Activity for Asp.Net Core 3.0.
NETCORE: Fix: Azure Functions performance degradation when W3C enabled.
NETCORE: Support correlation-context in absence of request-id or traceparent.
NETCORE: Fix: System.NullReferenceException in WebSessionTelemetryInitializer.
NETCORE: Updated Base SDK/Web SDK/Logging Adaptor SDK version dependency to 2.11.0-beta2
NETCORE: Updated System.Diagnostics.DiagnosticSource to 4.6.0-preview8.
NETCORE: Add new package for .NET Core WorkerServices (Adds GenericHost support)
Your coding agent can read these notes before it upgrades. Set up the MCP server →