Regira Engineering Blog

Notes on .NET, TypeScript & Vue

Patterns, gotchas and small wins from building the Regira packages and modules — entity pipelines, editorial front-ends and everything between.

4 articles #hierarchies ×
.NET / Tips & Tricks

From flat list to tree in one line of C#

A quick look at turning a flat collection with parent references into a navigable hierarchy, without writing recursion yourself.

4 min read
Data & EF Core / Architecture

Querying hierarchies at any depth: recursive SQL functions meet an in-memory TreeList

Three escalating strategies for self-referencing entities in EF Core — from ParentId filters to recursive CTE table-valued functions composed inside your query pipeline.

Pinned 18 min read
TypeScript / Vue

From SQL to screen: rendering .NET tree data in a Vue SPA

The follow-up to our recursive-CTE deep dive: rebuilding server-side hierarchies client-side with a TypeScript TreeList, a useTree composable, and drag-and-drop re-parenting.

7 min read
.NET / Architecture

Game of Thrones as a data model: parties, typed relationships, and a TreeList of alliances

Using a domain everyone knows to stress-test a stakeholder model — people, houses, sworn banners and shifting alliances — and rendering the result as a navigable tree.

Pinned 33 min read