NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #464 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
Latest stable
3.2.0
Last release 1 months ago
09 Oct 2026
Release timing varies
gaps range from 3 weeks to 1.4 years
Nearly every release is documented
notes for 23 of 23 stable releases
29 versions withdrawn
withdrawn after publishing
127 years old
53 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Copilot-Session: 5277fc6f-b2ef-4230-b03e-c640f777d7ef
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Copilot-Session: 5277fc6f-b2ef-4230-b03e-c640f777d7ef
Copilot-Session: 5277fc6f-b2ef-4230-b03e-c640f777d7ef
http.client.request.duration. Other System.Net.Http metrics are now opt-in through OpenTelemetry AddView; dashboards and alerts using them must explicitly enable collection. HTTP dependency tracing and server metrics are unchanged. No new public API is introduced. Addresses the HTTP metric-volume concern in #3192.NullReferenceException when using TelemetryClient APIs when no connection string is provided.TelemetryClient.TrackDependency(DependencyTelemetry) and TelemetryClient.TrackRequest(RequestTelemetry) now default an unset Timestamp to DateTimeOffset.UtcNow (restoring 2.x behavior) instead of emitting 0001-01-01T00:00:00Z, which ingestion rejects.enduser.pseudo.id, microsoft.session.id, microsoft.synthetic_source, microsoft.user.account_id), so user_Id, session_Id, operation_SyntheticSource and user_AccountId are populated again instead of the values landing in customDimensions as ai.user.id, session.id, ai.operation.syntheticSource and enduser.account. user_AccountId is also no longer skipped when the authenticated user cookie is present, and the unmapped session.isFirst custom dimension is no longer emitted.StartOperation/StopOperation losing or misreporting telemetry fields. Stopping an operation now exports the fields set on its telemetry item using the same keys as TrackDependency/TrackRequest: dependency Type, Data, Target and ResultCode (previously wrong or empty for HTTP, SQL, Queue Message and custom types), request Url, Source and ResponseCode, Success, and custom Properties. The unmapped OperationName and messaging.destination tags no longer appear as custom dimensions.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix `HttpException: Request is not available in this context` in the WEB package when calling `TrackDependency` from `Application_Start` in classic AS
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.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.Application
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.
Fixed an adaptive sampling issue that caused incorrect item count when an `Activity` Recorded flags were modified externally, when enabled side-by-sid
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
Allow Control of Documents sampling for QuickPulse telemetry
Allow Control of Documents sampling for QuickPulse telemetry
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 removedThe `{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
Fix: Missing Dependencies when using Microsoft.Data.SqlClient v2.0.0
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
Move FileDiagnosticTelemetryModule to Microsoft.ApplicationInsights assembly.
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.
[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.
New API to store/retrieve any raw objects on TelemetryContext to enable AutoCollectors to pass additional information for use by TelemetryInitializers
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)
One column per quarter.