Highlight.ASP4 0.2.0-beta.6

This is a prerelease version of Highlight.ASP4.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Highlight.ASP4 --version 0.2.0-beta.6                
NuGet\Install-Package Highlight.ASP4 -Version 0.2.0-beta.6                
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.0-beta.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Highlight.ASP4 --version 0.2.0-beta.6                
#r "nuget: Highlight.ASP4, 0.2.0-beta.6"                
#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.0-beta.6&prerelease

// Install Highlight.ASP4 as a Cake Tool
#tool nuget:?package=Highlight.ASP4&version=0.2.0-beta.6&prerelease                

highlight-io .NET4 SDK

This directory contains the source code for the Highlight .NET4 SDK.

Usage

  1. Install the NuGet Package
  2. Set up the Highlight SDK with your ASP app.
// initialize your webapp
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);

// configure highlight
Highlight.OpenTelemetry.Register(options =>
{
    options.ProjectId = "<YOUR_PROJECT_ID>";
    options.ServiceName = "example-dotnet-backend";
});
  1. Configure Serilog logging to export to highlight
// create a Serilog logger with highlight export
var logger = new LoggerConfiguration()
    .Enrich.WithHighlight()
    .WriteTo.HighlightOpenTelemetry(options =>
    {
        options.ProjectId = "<YOUR_PROJECT_ID>";
        options.ServiceName = "example-dotnet-backend";
    })
    .CreateLogger();
logger.Information("Hello, World!");
Product Compatible and additional computed target framework versions.
.NET Framework net481 is compatible. 
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 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