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 | 76 | 10/17/2024 |
0.2.1 | 107 | 9/26/2024 |
0.2.0-beta.7 | 105 | 9/25/2024 |
0.2.0-beta.6 | 74 | 9/11/2024 |
0.2.0-beta.5 | 61 | 9/11/2024 |
0.2.0-beta.4 | 65 | 9/11/2024 |
0.2.0-beta.2 | 56 | 9/11/2024 |
0.2.0-beta.1 | 63 | 9/10/2024 |
0.1.14 | 101 | 9/10/2024 |
0.1.13 | 62 | 9/10/2024 |
0.1.12 | 62 | 9/10/2024 |
0.1.11 | 65 | 9/10/2024 |
0.1.10 | 94 | 9/10/2024 |
0.1.9 | 93 | 9/10/2024 |
0.1.8 | 95 | 9/10/2024 |
0.1.7 | 1,614 | 9/4/2024 |
0.1.6 | 141 | 9/4/2024 |
0.1.5 | 83 | 9/3/2024 |
0.1.4 | 150 | 9/3/2024 |
0.1.3 | 147 | 9/3/2024 |
0.1.0 | 145 | 9/3/2024 |
0.0.1 | 135 | 9/3/2024 |