Book a demo Call 888-448-9996

Architecture

How AdvEntRetail is built

Most of this page is engineering detail. It is here because the decisions below are the reason the till behaves the way it does at the counter — and because if you are replacing a system you have relied on for a decade, you are entitled to know what you are moving onto.

01

Two halves that do not depend on each other

An office in the cloud, and lanes in the stores that keep trading when the office cannot be reached. That single sentence drives nearly every other decision on this page.

The office API

ASP.NET Core minimal APIs on .NET 9, running as a container service on AWS in us-east-1. It is the only thing that talks to the databases, and every request it serves names the store it is for.

The databases

PostgreSQL. One platform catalogue holding retailers, stores, licences and API clients, and then one database per retailer. Your data is not a filtered view of a shared table.

The lane

A Windows application with its own embedded database, an outbox of unsent sales, and everything it needs to price a basket. It asks the office for news; the office never reaches into it.

The AdvEntRetail Web Office with its navigation rail showing Organisation, Users and roles, Catalogue, Customers, Inventory, Pricing and offers, Tax, Sales and POS, Reports, Kiosk and kitchen, Payments, eWIC and System
Live screen Web Office — roles and permissions, with the full module rail on the left

02 · The one that matters

Offline is the expected case, not the failure case

A shop with no network is still a shop with customers in it. AdvEntRetail treats an unreachable office as ordinary, and says so in plain words rather than throwing an error at a cashier who cannot do anything about it.

Nothing on the critical path waits

Neither the start-up path nor the sale path is allowed to block on the office, the update feed or anything else across the network. A lane that has never seen the internet today still opens, signs a cashier on and rings a basket.

The lane holds real data

Not a cache that expires. A local database with the catalogue, the prices, the promotions, the tax rules, the users and their PINs, the label templates and the screen layouts — plus every sale it has not yet managed to send.

Sales queue and send themselves

Completed sales go to an outbox. When the office comes back they drain on their own, in order, without anyone pressing anything. A till that has been isolated for a fortnight catches up unattended.

Edits merge rather than overwrite

If a cashier corrects an item's price offline while head office changes its description, neither change is lost. The draft records what the lane could not see, and the office merges the two rather than letting the last writer win.

Nothing is ever applied under a sale. Configuration changes, synchronised data and program updates all wait for the gap between baskets. Only the till knows whether a sale, a card payment or a sync is in flight, so only the till decides when it is safe to act on any of them.

03

Sync is a pull, not a push

The lane asks what has changed and takes only that. Nothing is pushed at a till, which means a till that was switched off, moved, re-imaged or offline for a month needs no special handling.

  1. The lane asks for a manifest

    "Here is the version I hold for each group of data. What has moved?" The office answers with a list, not with the data.

  2. It pulls the changes it needs

    Changed records come back a page at a time against a cursor the lane carries, so an interrupted sync resumes rather than restarting.

  3. Or it takes a whole snapshot

    If a lane is too far behind for changes to be worth it — or it is brand new — it takes a complete snapshot of that group instead.

  4. It applies between sales

    The data lands in the local database at a moment the till has declared safe, and the lane's own version markers move forward.

Stateless

The office keeps no session for a lane. Any instance can answer any request, so scaling out costs nothing in complexity.

Resumable

The cursor lives with the lane. A dropped connection mid-sync costs one page, not the whole transfer.

Grouped

Items, prices, promotions, users, layouts and label templates each sync as their own group, so a big catalogue change does not hold up a price fix.

04

Multi-tenancy that is actually separate

The platform holds one catalogue — the list of retailers, their stores, their licences and their API clients. Every retailer then has their own database.

An application holds exactly one connection string, pointing at that platform catalogue. It reaches a retailer's data only through the store a request names, resolved per request from credentials the caller supplies. There is no ambient "current tenant" that could be wrong, and no shared table where a missing filter would leak one retailer's sales into another's report.

For a chain, one database covers every shop in the group, so a six-store group shares its catalogue and reports across all six without anything being copied between them.

LevelWhat it holds
Platform catalogueRetailers, stores, licences, API clients
Retailer databaseItems, prices, stock, sales, customers, users — for every store in that group
StoreThe scope a request resolves to; its own parameters, lanes and stock
TerminalOne registered lane, with its own identity, licence and outbox

05

Tills that update themselves, in rings

New software reaches your estate in stages, so a bad build meets a test lane rather than a Saturday queue.

Nightly

Test lanes only

Every build, published each night without approval. Only lanes that have deliberately opted in ever see it; a production till cannot reach this ring by accident.

Pilot

Stores that want it early

A build a person has chosen, byte for byte the same one that ran on nightly. Stores join from the till itself and leave the same way.

Stable

Everyone else

The release, after pilot, byte for byte what pilot ran. Lanes find it within a few hours and install when idle.

What a lane actually does

It checks the feed on its own schedule, verifies the package against the hash the release published, downloads in the background while trading continues, and applies only once it has told itself that no sale, payment or sync is in progress.

Installing a new store

One installer, run in the till's own Windows account. Its wizard registers the lane against your licence, fetches the right version for your ring, checks it, installs it and hands over to the till. Support can still take a lane back a version by hand when it has to.

06

Security

Per-request tenancy

Every route resolves its store from supplied credentials. A request without them reaches no retailer data at all.

Client key lockout

Repeated bad credentials lock the key rather than inviting a guessing run.

Uniform refusals

A refusal says no without saying why, so it cannot be used to probe what exists.

Hashed credentials

Passwords and till PINs stored as salted hashes. Nothing recoverable is kept.

Permission ceilings

The Users and Roles screens refuse to grant more than the editor already holds, so nobody can promote themselves.

Bot protection

Cloudflare Turnstile in front of the office sign-in, shown only when Cloudflare asks for an answer.

Verified updates

The feed is refused unless it is HTTPS, and every package is checked against a published hash before it runs.

Restricted publishing

Only named roles can write to the update store, with alerts on every write and separate credentials per ring.

Encrypted lane secrets

A lane's credentials are protected by the operating system's own user-scoped encryption, tied to that Windows account.

The AdvEntRetail Web Office sign-in page in brand navy, with company code, user name and password fields
Live screen Web Office sign-in

07

What it is made of

No secret sauce, and nothing exotic that will be hard to hire for in five years.

LayerTechnologyWhy
Office APIASP.NET Core · .NET 9Fast, long-supported, and the same language as the till
DatabasesPostgreSQLMature, open, and strong at the reporting work a retailer actually does
HostingAWS (us-east-1)Container services, object storage and a CDN for the update feed
The till.NET MAUI Blazor HybridOne UI codebase for Windows, Android, iOS and Mac
Lane databaseEmbedded document storeNo server to install or administer in the shop
Web applicationsBlazorShares components and rules with the till, so the two cannot drift
Real-timeSignalRLive stock, menu and kitchen updates where they are wanted
Lane updatesVelopackPer-user installs, background download, verified packages

08

Standard hardware, no lock-in

AdvEntRetail runs on ordinary retail kit. Printers, scanners, scales, drawers and card terminals you can buy anywhere, from more than one supplier, and replace on a Saturday when one dies.

  • Windows at the counter, on hardware you already own
  • Any standard barcode scanner, corded or Bluetooth
  • Thermal receipt printers and label printers over USB or network
  • Scales, cash drawers and customer displays over serial or USB
  • A second screen for the customer display, detected properly
A shop counter running on ordinary retail hardware: a touch screen, a receipt printer and a card terminal.

Questions your IT people will want answered

Bring them to the demo. We would rather have the hard conversation before you buy than after.