Regira Engineering Blog

Notes on .NET, TypeScript & Vue

Patterns, gotchas and small wins from fifteen-odd years of .NET and web work — the Regira packages and modules, entity pipelines, editorial front-ends and everything between.

10 articles
.NET / Architecture / Tooling

Reviewing an App You Didn't Write

Series · Building apps with an AI agent

When an agent builds the app, a framework that owns the plumbing shrinks the review to the part that is your business. What to read first: which questions the API answers, what a save may change, and which rules run every time.

6 min read
.NET / Architecture / Tooling

Stop the Agent from Guessing

Series · Building apps with an AI agent

A coding agent built working apps on a framework it had never seen, without inventing a single method. The reason is documentation that lives with the code, is served one piece at a time, and tells the agent what to do next and how to check it worked.

8 min read
.NET / Vue / Architecture

What Happens When a Simple App Brief Gets Complicated?

Series · Building apps with an AI agent

Before an agent builds a bigger app, sort each request into what the framework provides, what the agent must assemble, and what is missing. A plan for a shopping-list app with sign-in, sharing, photos and offline use, and what changes when an app keeps growing after its first run.

11 min read
.NET / Vue / Architecture / Tooling

From Six Lines to a Working Full-Stack App

Series · Building apps with an AI agent

Hand a coding agent a six-line brief and get a running .NET and Vue app, with sample data and a clickable UI, in about half an hour. Step by step, with no license and no account.

Pinned 8 min read
.NET / Architecture

Page Views Without a Tracking Script

Know how many people read your site and where they come from, without a third-party script, a cookie or a consent banner. What the blog you are reading records, what it cannot, and how crawlers are kept out of the count.

10 min read
.NET / Tips & Tricks

From a Flat List to a Tree in One Line of C#

Series · Hierarchical data

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

5 min read
.NET / Architecture

The Realm at Any Date

Series · People, organisations and alliances

Answer who reported to whom on any past date from the data you already store, with no history tables and no migrations. One dated relationship table and a single filter do it; Westeros supplies three centuries of test data.

17 min read
.NET / Tooling

Copy Files Between Disk, Network Share and Cloud

Series · File storage behind one interface

A small tool that copies files between local disks, network shares and cloud storage, where a new copy job is a config entry, not new code. Built on one storage abstraction, so adding a backend is one small class.

9 min read
.NET / Data & EF Core / Architecture

Westeros, the Iron Throne, and a Model for Complex Relationships

Series · People, organisations and alliances

One table for every customer, supplier and employee, with roles and alliances as dated relationships instead of extra tables. Tested on Westeros, where everyone knows who betrayed whom and when.

Pinned 14 min read
.NET / Tips & Tricks

Test on Disk, Ship to the Cloud

Series · File storage behind one interface

Keep file storage behind one interface and let each environment choose disk, network share or Azure in configuration. Tests run without cloud credentials, and moving your files later is a copy job, not a rewrite. Uploads are typed by the server, so none can pose as a page of your site.

Pinned 6 min read