Skip to content
Documentation

HAKOM Namespace

The HAKOM namespace contains all types publicly available as an API. The library is divided into several modules, each serving a specific purpose.

For developers looking to work with time series, the single most important module is the TSM module. In fact, there is usually no need to explicitly reference any of the other modules directly.

Contains all that is needed for time series management — the core domain model, persistence abstractions, calculation engine, and the HTTP API layer.

Extensible configuration infrastructure supporting XML, JSON, environment variables, and command-line argument sources.

Core console application abstractions built on Spectre.Console for HAKOM CLI tools.

Certificate management, encryption and decryption services with support for file-system and local-user certificate stores.

The HAKOM dependency injection container, application context, and advanced factory registration system.

HTTP-layer integration for API documentation, including OpenAPI/Swagger schema customisation.

The foundation of the error handling infrastructure: the HakomException base class (with unique error codes and HTTP status mapping) and the Result/Result<T> types for non-throwing error propagation.

Core HTTP service infrastructure — hosting, Kestrel configuration, CORS, compression, and request pipeline setup.

Interfaces and implementations for configuring logging in HAKOM applications, based on Microsoft.Extensions.Logging.

Repository, store, and storage provider abstractions with concrete implementations for file systems, SQL databases (Oracle, PostgreSQL, SQL Server), and HTTP APIs.

Authentication and authorisation infrastructure across core, HTTP, and persistence layers. Supports OpenID Connect, certificate-based, and Windows authentication.

Media-type-aware serialisation framework supporting JSON, XML, and binary formats with content negotiation.

Semantic versioning, assembly version introspection, and HTTP content negotiation based on API versions.

© 2026 Volue.Version v0.6.38017 November 2026