NetAmpowering.AspNet.WebApi
1.0.0
dotnet add package NetAmpowering.AspNet.WebApi --version 1.0.0
NuGet\Install-Package NetAmpowering.AspNet.WebApi -Version 1.0.0
<PackageReference Include="NetAmpowering.AspNet.WebApi" Version="1.0.0" />
<PackageVersion Include="NetAmpowering.AspNet.WebApi" Version="1.0.0" />
<PackageReference Include="NetAmpowering.AspNet.WebApi" />
paket add NetAmpowering.AspNet.WebApi --version 1.0.0
#r "nuget: NetAmpowering.AspNet.WebApi, 1.0.0"
#:package NetAmpowering.AspNet.WebApi@1.0.0
#addin nuget:?package=NetAmpowering.AspNet.WebApi&version=1.0.0
#tool nuget:?package=NetAmpowering.AspNet.WebApi&version=1.0.0
NetAmpowering.AspNet.WebApi
OpenTelemetry tracing for ASP.NET Web API 2 on .NET Framework 4.7.2+: one span per ApiController action
(Controller.Action), child of the HTTP span, with route, method, status code and primitive parameters.
Install-Package NetAmpowering.AspNet # OpenTelemetry pipeline (System.Web host)
Install-Package NetAmpowering.AspNet.WebApi
- IIS / IIS Express hosting: automatic, the filter is added to
GlobalConfiguration.ConfigurationbeforeApplication_Start. - OWIN self-host:
config.AddNetAmpoweringTracing();(idempotent), then start OpenTelemetry withAspNetTelemetry.Start().
Disable parameter capture: WebApiObservability.Options.CaptureActionParameters = false;.
Errors are recorded without any SQL parameter value (see ActivityErrorExtensions.RecordError).
Configuration (OpenTelemetry:* in appSettings, httpRuntime targetFramework="4.7.2", netstandard assembly)
is the same as for NetAmpowering.AspNet.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Microsoft.AspNet.WebApi.WebHost (>= 5.3.0)
- NetAmpowering.AspNet (>= 1.0.0)
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 |
|---|---|---|
| 1.0.0 | 42 | 10/17/2026 |