# ZibStack.NET

A collection of .NET source generators for cross-cutting concerns such as structured logging, OpenTelemetry tracing, retry and cache aspects, DTOs and CRUD APIs, generating code at compile time with no reflection.

ZibStack.NET is a set of .NET source generators and utilities that add logging, tracing, DTOs, CRUD APIs, validation and UI metadata to a project without reflection or runtime overhead. It is designed to be adopted in tiers: a drop-in tier adds attributes such as Log for structured logging and Trace for OpenTelemetry spans, plus an aspects package with Retry, Cache, Metrics, Audit, Timeout, Authorize and Validate handlers that can also be applied globally to whole namespaces.

A second tier adds TypeScript-inspired utility types such as Partial and Pick, JS-style object destructuring, a functional Result type, and compile-time validation attributes. A third, more opinionated tier generates full CRUD APIs, including DTOs, endpoints, EF or Dapper stores, a query DSL and form or table UI schemas from a single attribute, with an optional SignalR hub for realtime push on generated endpoints.

It targets .NET 8 and 9.

Website: https://mistykuu.github.io/ZibStack.NET/
