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.

16 articles
Data & EF Core / Architecture

Sorting, includes and paging, all typed

The rest of the read pipeline: repeatable sort enums (and the OrderOrThenBy trap), flags-enum includes that keep list payloads lean, and page-size clamps enforced once at the HTTP boundary.

4 min read
.NET / Data & EF Core

The SearchObject pattern: composable filtering for EF Core APIs

How to turn ?brand=volvo&hasIntervention=true into safe, index-friendly SQL — a deep dive into typed search objects, query builders, global filters, normalized free-text search and union queries.

25 min read
Data & EF Core / Architecture

Global filters: the rules every query obeys

Cross-cutting predicates - id filters, soft delete, tenancy - registered once against an interface and provably applied everywhere, including the key-type mechanics that keep security defaults from silently dropping.

4 min read
.NET / Tips & Tricks

Test on disk, ship to Azure: swapping storage backends without touching your code

A quick tip on keeping file storage behind one interface so local development, tests and production can each pick their own backend.

2 min read