Skip to content
ogoun edited this page Apr 23, 2026 · 5 revisions

ZeroLevel Wiki

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:

Getting started

dotnet add package ZeroLevel

Minimum 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");
}

Contents

Core subsystems

Packages

Notes and conventions

  • Legacy namespaces — ZeroLevel.Services.Mathemathics and ZeroLevel.Services.Shedulling are intentional spellings; they ship on NuGet and renaming would break downstream code.
  • Static facades — Log, Configuration, Bootstrap, Injector, Sheduller are 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.

Clone this wiki locally