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                
#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                

highlight-io .NET Core SDK

This directory contains the source code for the Highlight .NET Core SDK.

Usage

  1. Install the NuGet Package
  2. 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();
  1. 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 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.

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 71 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,542 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