Soenneker.Extensions.ServiceCollection.ApplicationInsights
4.0.298
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Extensions.ServiceCollection.ApplicationInsights --version 4.0.298
NuGet\Install-Package Soenneker.Extensions.ServiceCollection.ApplicationInsights -Version 4.0.298
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Extensions.ServiceCollection.ApplicationInsights" Version="4.0.298" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.ServiceCollection.ApplicationInsights" Version="4.0.298" />
<PackageReference Include="Soenneker.Extensions.ServiceCollection.ApplicationInsights" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Extensions.ServiceCollection.ApplicationInsights --version 4.0.298
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.ServiceCollection.ApplicationInsights, 4.0.298"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Extensions.ServiceCollection.ApplicationInsights@4.0.298
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Extensions.ServiceCollection.ApplicationInsights&version=4.0.298
#tool nuget:?package=Soenneker.Extensions.ServiceCollection.ApplicationInsights&version=4.0.298
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Extensions.ServiceCollection.ApplicationInsights
IServiceCollection extensions for registering Application Insights, Azure Monitor OpenTelemetry, correlation, and related telemetry services.
Installation
dotnet add package Soenneker.Extensions.ServiceCollection.ApplicationInsights
Usage
using Soenneker.Extensions.ServiceCollection.ApplicationInsights;
services.AddApplicationInsights(configuration);
Registration is controlled by these keys:
| Key | Effect |
|---|---|
Azure:AppInsights:Enable |
When false or missing, the method registers nothing. |
Azure:AppInsights:ConnectionString |
Assigned to the Azure Monitor exporter; the standard environment variable can also supply it. |
Azure:AppInsights:SamplingRatio |
Applied only when the value is between 0 and 1, inclusive. |
Azure:AppInsights:EnableCorrelationTelemetryInitializer |
Adds the JWT telemetry correlator when true. |
When enabled, the SignalR hub telemetry processor is always registered. The method configures traces, metrics, and logs through the Azure Monitor OpenTelemetry distribution.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.ApplicationInsights.Correlator.Jwt (>= 4.0.757)
- Soenneker.ApplicationInsights.Processor.SignalR (>= 4.0.401)
- Soenneker.Extensions.Configuration (>= 4.0.863)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.313 | 0 | 9/8/2026 |
| 4.0.312 | 0 | 9/8/2026 |
| 4.0.311 | 25 | 9/7/2026 |
| 4.0.310 | 29 | 9/7/2026 |
| 4.0.309 | 59 | 9/5/2026 |
| 4.0.308 | 40 | 9/4/2026 |
| 4.0.307 | 92 | 9/1/2026 |
| 4.0.306 | 79 | 8/31/2026 |
| 4.0.305 | 85 | 8/31/2026 |
| 4.0.304 | 89 | 8/31/2026 |
| 4.0.303 | 87 | 8/30/2026 |
| 4.0.302 | 108 | 8/30/2026 |
| 4.0.301 | 86 | 8/30/2026 |
| 4.0.299 | 86 | 8/30/2026 |
| 4.0.298 | 131 | 8/30/2026 |
| 4.0.297 | 92 | 8/29/2026 |
| 4.0.295 | 94 | 8/29/2026 |
| 4.0.293 | 90 | 8/29/2026 |
| 4.0.292 | 85 | 8/29/2026 |
| 4.0.291 | 109 | 8/26/2026 |
Loading failed
Update dependency Soenneker.ApplicationInsights.Correlator.Jwt to 4.0.755 (#680)