Highlight.ASPCore
0.2.12
dotnet add package Highlight.ASPCore --version 0.2.12
NuGet\Install-Package Highlight.ASPCore -Version 0.2.12
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.ASPCore" Version="0.2.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Highlight.ASPCore --version 0.2.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Highlight.ASPCore, 0.2.12"
#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.ASPCore as a Cake Addin #addin nuget:?package=Highlight.ASPCore&version=0.2.12 // Install Highlight.ASPCore as a Cake Tool #tool nuget:?package=Highlight.ASPCore&version=0.2.12
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 | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- OpenTelemetry (>= 1.6.0)
- OpenTelemetry.AutoInstrumentation (>= 1.0.2)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.6.0)
- OpenTelemetry.Extensions.Hosting (>= 1.6.0)
- Serilog (>= 3.1.1)
- Serilog.Sinks.OpenTelemetry (>= 1.2.0)
-
net7.0
- OpenTelemetry (>= 1.9.0)
- OpenTelemetry.AutoInstrumentation (>= 1.8.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.9.0)
- OpenTelemetry.Extensions.Hosting (>= 1.9.0)
- Serilog (>= 4.0.2)
- Serilog.Sinks.OpenTelemetry (>= 4.1.1)
-
net8.0
- OpenTelemetry (>= 1.9.0)
- OpenTelemetry.AutoInstrumentation (>= 1.8.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.9.0)
- OpenTelemetry.Extensions.Hosting (>= 1.9.0)
- Serilog (>= 4.0.2)
- Serilog.Sinks.OpenTelemetry (>= 4.1.1)
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.12 | 1,929 | 10/18/2024 |
0.2.11 | 128 | 10/18/2024 |
0.2.10 | 123 | 10/18/2024 |
0.2.9 | 2,480 | 10/17/2024 |
0.2.8 | 844 | 10/3/2024 |
0.2.7 | 94 | 10/3/2024 |
0.2.6 | 102 | 9/30/2024 |
0.2.5 | 90 | 9/30/2024 |
0.2.4 | 97 | 9/30/2024 |
0.2.3 | 120 | 9/27/2024 |
0.2.2 | 99 | 9/27/2024 |
0.2.1 | 105 | 9/25/2024 |
0.2.0 | 116 | 9/19/2024 |
0.1.8 | 146 | 9/10/2024 |
0.1.7 | 1,496 | 9/4/2024 |
0.1.6 | 218 | 9/4/2024 |
0.1.5 | 124 | 9/3/2024 |
0.1.4 | 113 | 9/3/2024 |
0.1.3 | 111 | 9/3/2024 |
0.1.2 | 138 | 8/30/2024 |
0.1.1 | 113 | 8/30/2024 |
0.1.0 | 113 | 8/30/2024 |