Heimdall.AspNetCore 0.2.2

dotnet add package Heimdall.AspNetCore --version 0.2.2
                    
NuGet\Install-Package Heimdall.AspNetCore -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="Heimdall.AspNetCore" Version="0.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Heimdall.AspNetCore" Version="0.2.2" />
                    
Directory.Packages.props
<PackageReference Include="Heimdall.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Heimdall.AspNetCore --version 0.2.2
                    
#r "nuget: Heimdall.AspNetCore, 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.
#:package Heimdall.AspNetCore@0.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Heimdall.AspNetCore&version=0.2.2
                    
Install as a Cake Addin
#tool nuget:?package=Heimdall.AspNetCore&version=0.2.2
                    
Install as a Cake Tool

@heimdall-sdk/aspnetcore

Requires Sentinel — this middleware only works when a Sentinel instance is running. It sends request logs and metrics to Sentinel using a buffered, asynchronous mechanism.

Middleware for Express to send request logs and basic metrics to Sentinel with minimal overhead.

Features

  • Automatically logs incoming HTTP requests
  • Sends logs and metrics to Sentinel asynchronously
  • Buffered sending: flush when buffer reaches flushSize or after flushIntervalMs
  • Identify services via serviceName
  • API Key authentication support
  • Non-blocking — does not delay request handling
  • Compatible with ASP.NET Core (.NET 8+)

Installation

dotnet add package Heimdall.AspNetCore

Usage

var builder = WebApplication.CreateBuilder(args);

var app = builder.Build();

var heimdall = new Heimdall.Connector(
    serviceName: "my-company-api",
    baseUrl: "http://localhost:8080", // Sentinel URL
    apiKey: "heim_XXXX",              // Generated in Sentinel
    flushIntervalMs: 10_000,           // Optional (default: 5000)
    flushSize: 50,                     // Optional (default: 50)
);

app.Use(heimdall.Watcher());

app.MapGet("/", () => Results.Json(new { message = "hello world" }));

app.Run();
Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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 323 12/16/2025
0.2.1 469 12/16/2025
0.2.0 295 12/15/2025
0.1.2 243 12/15/2025
0.1.1 232 12/14/2025
0.1.0 237 12/14/2025