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.

7 articles #api-design ×
Data & EF Core / Architecture

When Two People Edit the Same Record

Series · Writing in Regira Entities

When two people save the same record, the second save is refused instead of quietly erasing the first, whichever database the application runs on. The second user reloads and re-applies their change.

9 min read
Data & EF Core / Architecture

Omitted Is Not Empty

Series · Writing in Regira Entities

Saving a record from a small form should never wipe the items attached to it, while the full edit screen can still remove them all. How an API tells an omitted list from an empty one, and what a form sends for a row the user removed.

7 min read
Data & EF Core / Architecture

Let Users Search for This or That

Series · Filtering in Regira Entities

Let users ask for this or that, one brand or anything overdue, in a list that still pages and sorts like every other. How to offer 'or' without a flag nobody trusts.

3 min read
Data & EF Core / Architecture

A Search Box That Finds Café When You Type Cafe

Series · Filtering in Regira Entities

A search box that finds 'Café' when someone types 'Cafe', and 'Mercedes-Benz' for 'mercedes', without extra work on every search. The trick: tidy the text once when it is saved, not each time someone searches.

4 min read
Data & EF Core / Architecture

Delete Without Losing Anything

Series · Filtering in Regira Entities

Let users delete a record and still get it back: it disappears from every screen, stays in the database, and restores in one click. A recycle bin and an audit view come with it, no extra code.

5 min read
Data & EF Core / Architecture

Sorting and Paging Without Surprises

Series · Filtering in Regira Entities

Lists that users sort by several columns, that load related data only when a screen asks, and that never hand a client a million rows. Declared once, applied to every list.

5 min read
Data & EF Core / Architecture

From Query Parameters to a Composable Filter Pipeline

Series · Filtering in Regira Entities

Search screens that stay simple as the filters pile up: name what users can filter on once, and let the database do the work. Most APIs grow a tangle of optional parameters nobody tests instead.

Pinned 8 min read