Klinkby.CleanFn.Core 1.4.0

dotnet add package Klinkby.CleanFn.Core --version 1.4.0                
NuGet\Install-Package Klinkby.CleanFn.Core -Version 1.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="Klinkby.CleanFn.Core" Version="1.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Klinkby.CleanFn.Core --version 1.4.0                
#r "nuget: Klinkby.CleanFn.Core, 1.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.
// Install Klinkby.CleanFn.Core as a Cake Addin
#addin nuget:?package=Klinkby.CleanFn.Core&version=1.4.0

// Install Klinkby.CleanFn.Core as a Cake Tool
#tool nuget:?package=Klinkby.CleanFn.Core&version=1.4.0                

Klinkby.CleanFn

Middleware for Azure Functions v4 isolated worker model (dotnet 8.0 LTS) to decouple application logic from the Azure Functions runtime and provide opinionated handling of boilerplate stuff in REST APIs.

MIT Licensed.

Features

  • Simple mediator dispatch request object to application logic that may reply with response object
    • Optional implicit request validation using DataAnnotations or subclass the basic mediator to roll your own validation
  • Echos X-Correlation-Id header
    • Correlation Id is also added to outgoing HttpClient request headers
  • Enables Application Insights telemetry when APPINSIGHTS_INSTRUMENTATIONKEY is set
    • Adds Correlation Id to custom telemetry property
  • Map configured dotnet exceptions to friendly application/problem+json responses
  • Support writing application/health+json formatted health check
  • Sends Mozilla recommended security response headers
  • Reduced cold start latency
    • Demand source generation for JSON-serialized request/response objects
    • Internal logging via source generation
  • Application logic only reference netstandard nuget with stable abstract interfaces
  • Use System.Text.Json for serialization

Inspiration

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. 
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
1.4.0 116 6/8/2024
1.3.0 160 3/27/2024
1.2.0 211 3/4/2024
1.1.0 180 2/15/2024