Highlight.ASP4
0.2.2
dotnet add package Highlight.ASP4 --version 0.2.2
NuGet\Install-Package Highlight.ASP4 -Version 0.2.2
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="Highlight.ASP4" Version="0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Highlight.ASP4 --version 0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Highlight.ASP4, 0.2.2"
#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.
// Install Highlight.ASP4 as a Cake Addin #addin nuget:?package=Highlight.ASP4&version=0.2.2 // Install Highlight.ASP4 as a Cake Tool #tool nuget:?package=Highlight.ASP4&version=0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
highlight-io .NET Core SDK
This directory contains the source code for the Highlight .NET Core SDK.
Usage
- Install the NuGet Package
- Set up the Highlight SDK with your ASP app.
// configure your web application
var builder = WebApplication.CreateBuilder(args);
// Initialize trace, error, metric, and log export
builder.Services
.AddHighlightInstrumentation(options => options.ProjectId = "<YOUR_PROJECT_ID>");
builder.Logging
.AddHighlightInstrumentation(options => options.ProjectId = "<YOUR_PROJECT_ID>");
var app = builder.Build();
- Configure Serilog logging to export to highlight
// create a Serilog logger with highlight export
Log.Logger = new LoggerConfiguration()
.Enrich.WithMachineName()
.Enrich.WithHighlight()
.Enrich.FromLogContext()
.WriteTo.Async(async =>
async.HighlightOpenTelemetry(options =>
{
options.ProjectId = "<YOUR_PROJECT_ID>";
options.ServiceName = "<YOUR_SERVICE_NAME>";
})
)
.CreateLogger();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- OpenTelemetry (>= 1.9.0)
- OpenTelemetry.Api (>= 1.9.0)
- OpenTelemetry.Api.ProviderBuilderExtensions (>= 1.9.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.9.0)
- OpenTelemetry.Extensions.Hosting (>= 1.9.0)
- OpenTelemetry.Instrumentation.AspNet (>= 1.9.0-beta.1)
- OpenTelemetry.Instrumentation.EntityFrameworkCore (>= 1.0.0-beta.12)
- OpenTelemetry.Instrumentation.Http (>= 1.9.0)
- OpenTelemetry.Instrumentation.Process (>= 0.5.0-beta.6)
- OpenTelemetry.Instrumentation.Quartz (>= 1.0.0-beta.3)
- OpenTelemetry.Instrumentation.Runtime (>= 1.9.0)
- OpenTelemetry.Instrumentation.SqlClient (>= 1.9.0-beta.1)
- OpenTelemetry.Instrumentation.StackExchangeRedis (>= 1.9.0-beta.1)
- OpenTelemetry.Instrumentation.Wcf (>= 1.0.0-rc.17)
- Serilog (>= 4.0.1)
- Serilog.Sinks.OpenTelemetry (>= 4.1.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 |
---|---|---|
0.2.2 | 58 | 10/17/2024 |
0.2.1 | 104 | 9/26/2024 |
0.2.0-beta.7 | 102 | 9/25/2024 |
0.2.0-beta.6 | 66 | 9/11/2024 |
0.2.0-beta.5 | 58 | 9/11/2024 |
0.2.0-beta.4 | 62 | 9/11/2024 |
0.2.0-beta.2 | 53 | 9/11/2024 |
0.2.0-beta.1 | 60 | 9/10/2024 |
0.1.14 | 92 | 9/10/2024 |
0.1.13 | 56 | 9/10/2024 |
0.1.12 | 59 | 9/10/2024 |
0.1.11 | 59 | 9/10/2024 |
0.1.10 | 91 | 9/10/2024 |
0.1.9 | 90 | 9/10/2024 |
0.1.8 | 86 | 9/10/2024 |
0.1.7 | 1,377 | 9/4/2024 |
0.1.6 | 137 | 9/4/2024 |
0.1.5 | 80 | 9/3/2024 |
0.1.4 | 147 | 9/3/2024 |
0.1.3 | 144 | 9/3/2024 |
0.1.0 | 142 | 9/3/2024 |
0.0.1 | 132 | 9/3/2024 |