Kern 2.1.0
dotnet add package Kern --version 2.1.0
NuGet\Install-Package Kern -Version 2.1.0
<PackageReference Include="Kern" Version="2.1.0" />
<PackageVersion Include="Kern" Version="2.1.0" />
<PackageReference Include="Kern" />
paket add Kern --version 2.1.0
#r "nuget: Kern, 2.1.0"
#:package Kern@2.1.0
#addin nuget:?package=Kern&version=2.1.0
#tool nuget:?package=Kern&version=2.1.0
🌱 Kern
⚠️ Warning: This library is under active development.
APIs, structures, and behaviors may change without notice. Not recommended for production use until a stable version is released.
Kern is a modular utility library for .NET that simplifies core backend patterns like asynchronous pipelines, concurrent-safe queues, AWS S3 access, and error modeling. It also offers clean ASP.NET Core integration for standardized responses and FluentValidation filtering.
✨ Features
🧠 Pipeline
A simple, composable pipeline runner for chaining asynchronous processing steps with support for early exits via PipelineResult.
var pipeline = Pipeline
.Create<string>()
.AddStep(async input =>
{
if (string.IsNullOrWhiteSpace(input))
return PipelineResult<string>.Fail(new InvalidInputError("Empty input"));
return PipelineResult<string>.Success(input.ToUpper());
});
var result = await pipeline.Run("hello");
📥 Queue
Thread-safe task queue manager that allows parallel processing by group but ensures serial execution within the same group, ideal for background job orchestration.
await queue.QueueTaskAsync<SomeTask>();
☁️ S3 Helper
Abstraction over AWS S3 for uploading, downloading, and deleting objects — supports both streams and file paths, and can generate presigned URLs.
await s3.GetObjectAsync(objectName);
📄 License
Licensed under the GNU General Public License v3.0. See LICENSE for full terms.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
-
net9.0
- FluentValidation (>= 11.11.0)
- Microsoft.Extensions.Hosting (>= 9.0.2)
- Microsoft.Extensions.Http (>= 9.0.2)
- Minio (>= 6.0.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Kern:
| Package | Downloads |
|---|---|
|
Kern.AspNetCore
Library for ASP Minimal API to make development faster |
GitHub repositories
This package is not used by any popular GitHub repositories.
Add pipeline pattern programming feature