Repository navigation
Home
ogoun edited this page Apr 23, 2026
·
5 revisions
ZeroLevel is a self-contained .NET Standard 2.1 toolkit that bundles the plumbing every non-trivial .NET service ends up writing: logging, configuration, dependency injection, fast binary serialization, a duplex TCP protocol, a file-based partitioned key-value store, semantic helpers, scheduling, encryption, reflection helpers and more — all without pulling in a heavyweight framework.
NuGet packages:
ZeroLevel— the core toolkit.ZeroLevel.Sleopok.Engine— embeddable inverted-index search engine built on top of ZeroLevel.
dotnet add package ZeroLevelMinimum target: netstandard2.1 (compatible with .NET Core 3.0+, .NET 5/6/7/8+, Mono 6.4+, Xamarin).
A minimal console service:
using ZeroLevel;
class Program
{
static void Main(string[] args)
{
Bootstrap.Startup<MyService>(args,
() => Configuration.ReadSetFromIniFile("config.ini"))
.EnableConsoleLog()
.Run()
.WaitWhileStatus(ZeroServiceStatus.Running);
Bootstrap.Shutdown();
}
}
public sealed class MyService : BaseZeroService
{
protected override void StartAction() => Log.Info("service started");
protected override void StopAction() => Log.Info("service stopped");
}-
01. Configuration — read settings from
.config,.ini, command-line, runtime; bind to POCOs. - 02. Bootstrapping — service lifecycle, console & Windows-service hosting.
-
03. Logging —
Logfacade, console/file/encrypted backends, custom loggers. - 04. IoC Containers — named containers, attribute-based injection, composition.
- 05. Scheduling — fiber-based scheduler for delayed / repeating tasks.
- 06. Serialization — fast binary codec with expression-tree primitives.
- 07. Network — duplex TCP exchange, frames, request/response, discovery.
- 08. PartitionStorage — embedded partitioned key-value store.
- 09. Semantic & Text — tokenizers, stemmers, stop-words, distance metrics.
- 10. DataStructures — Bloom filters, bitmap card tables, sparse vectors.
- 11. Sleopok Engine — inverted-index full-text search on top of ZeroLevel.
-
Legacy namespaces —
ZeroLevel.Services.MathemathicsandZeroLevel.Services.Shedullingare intentional spellings; they ship on NuGet and renaming would break downstream code. -
Static facades —
Log,Configuration,Bootstrap,Injector,Shedullerare static entry points so startup is one-liner. All have imperative APIs for tests and isolated scopes. - Network protocol — duplex TCP with 6/10-byte framed messages; payload up to 32 MB; see 07. Network.
- License — MIT. Source on GitHub.
Application basics
Data & serialization
Networking
Text & search