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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- Klinkby.CleanFn.Abstractions (>= 1.0.0)
- Microsoft.ApplicationInsights.WorkerService (>= 2.22.0)
- Microsoft.Azure.Functions.Worker.ApplicationInsights (>= 1.2.0)
- Microsoft.Azure.Functions.Worker.Core (>= 1.17.0)
- Microsoft.Azure.Functions.Worker.Extensions.Http (>= 3.1.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.3)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Options (>= 8.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.