Kck.Bundle.MinimalApi 3.4.0

dotnet add package Kck.Bundle.MinimalApi --version 3.4.0
                    
NuGet\Install-Package Kck.Bundle.MinimalApi -Version 3.4.0
                    
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="Kck.Bundle.MinimalApi" Version="3.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kck.Bundle.MinimalApi" Version="3.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Kck.Bundle.MinimalApi" />
                    
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 Kck.Bundle.MinimalApi --version 3.4.0
                    
#r "nuget: Kck.Bundle.MinimalApi, 3.4.0"
                    
#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 Kck.Bundle.MinimalApi@3.4.0
                    
#: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=Kck.Bundle.MinimalApi&version=3.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Kck.Bundle.MinimalApi&version=3.4.0
                    
Install as a Cake Tool

Kck.Bundle.MinimalApi

Lightweight Minimal API setup — slim variant of Kck.Bundle.WebApi providing Serilog, JWT auth, in-memory caching, exception handling, and health checks without MediatR pipeline or Argon2 overhead.

Installation

dotnet add package Kck.Bundle.MinimalApi

Quick Start

// Program.cs
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddKckMinimalApiDefaults(builder.Configuration);

var app = builder.Build();

app.UseKckMinimalApiDefaults();

// Map your minimal API endpoints
app.MapGet("/products/{id:int}", async (int id, IProductService svc, CancellationToken ct)
    => await svc.GetAsync(id, ct) is { } product
        ? Results.Ok(product)
        : Results.NotFound());

app.MapHealthChecks("/health");

app.Run();

Configuration

Property Description Default
Security:Jwt:Issuer JWT token issuer
Security:Jwt:Audience JWT token audience
Security:Jwt:ExpiryMinutes Access token lifetime (minutes) 60
Caching:Provider Cache backend (InMemory, Redis) InMemory
Observability:Otlp:Endpoint OTLP exporter endpoint "http://localhost:4317"

Resources

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

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
3.4.0 99 5/17/2026
3.3.0 88 5/17/2026
3.2.0 96 5/17/2026
3.1.0 89 5/17/2026
3.0.0 97 5/17/2026
2.0.0 96 5/7/2026