Fundamentals
Fundamentals
The building blocks beneath the stack
The convenience layer the rest of Cratis is built on: strongly-typed domain values, JSON serialization, convention-based DI, and runtime type discovery — for both .NET and TypeScript. You meet it indirectly all the time, and you can use it on its own.
Choose your platform
Section titled “Choose your platform”Concepts, serialization, DI, type discovery, metrics, monads, and reactive helpers for .NET.
TypeScriptGUIDs, derived-type serialization, property-path proxies, and decorators for the browser.
What it gives you
Section titled “What it gives you”The ConceptAs<T> pattern that wraps an AuthorId so the compiler stops you mixing ids up.
Robust JSON with custom and derived-type handling — what carries events across the wire.
Dependency injectionConvention-based registration so artifacts are discovered, not hand-wired.
Derived typesHow polymorphic types travel between .NET and TypeScript without losing their identity.
Fundamentals is what lets Chronicle and Arc find your artifacts by convention — see Why developers choose Cratis.