HomeCase studiesOffline-Resilient Omnichannel Retail POS and Multi-Store Inventory...

Case study · Dallas, United States

Offline-Resilient Omnichannel Retail POS and Multi-Store Inventory Synchronization Platform Built with C#, .NET, and SQL Server

Multi-Store Omnichannel Point of Sale

Multi-store retail chains cannot pause checkout lanes when store broadband drops, nor can they afford overselling limited stock between physical registers and e-commerce storefronts. Engineered for brick-and-mortar and omnichannel operations in Dallas, we built an enterprise retail POS platform powered by C#, .NET, and SQL Server. Store registers execute sub-second barcode scans, offline-capable sales, and EMV hardware integrations locally, while idempotent delta sync pipelines reconcile multi-store stock, returns, and end-of-day shift ledgers centrally.

Industry
Multi-Store Omnichannel Point of Sale
Solution
An offline-resilient retail point-of-sale terminal suite and centralized omnichannel back-office built with C#, .NET, and SQL Server for multi-store checkout, hardware control, and stock synchronization.
Platforms
Web & API
Stack
C# · .NET · SQL Server · ASP.NET Core · SignalR · Entity Framework Core
Location
Dallas, United States · delivered remotely
Role
Engineering, with the team behind for mobile and QA

Delivered remotely for a business based in Dallas, United States. Names withheld by agreement.

Project Overview

In high-footfall brick-and-mortar retail, every second spent waiting on a sluggish register screen or a cloud timeout translates directly into abandoned baskets and frustrated queues. At the same time, modern retailers operate seamlessly across physical aisles and online storefronts—requiring real-time visibility into store-level inventory for buy-online-pickup-in-store (BOPIS) orders and cross-channel returns.

Built for multi-location retail operations headquartered in Dallas, we engineered an omnichannel retail POS software suite grounded in C#, .NET, and SQL Server. The platform pairs local, offline-resilient store checkout services with a centralized ASP.NET Core back-office, deterministic hardware peripheral control, and event-driven inventory synchronization.

Storefront & Register Bottlenecks

Retail operators moving off legacy green-screen terminals or pure browser-only cloud POS tools consistently encountered four operational pain points:

  • Connectivity fragility: Cloud-only browser registers froze completely whenever mall Wi-Fi or store ISP links flickered during peak weekend rushes.
  • Inventory drift across channels: Overwriting stock integers concurrently from web checkouts and physical registers caused phantom availability for BOPIS pickups.
  • Fragile peripheral wrappers: Browser print dialogs and flaky USB extensions slowed down thermal receipt printing, cash drawer kicks, and EMV PIN-pad pairing.
  • Opaque shift reconciliation: Disconnected end-of-day Z-reports forced store managers and regional finance teams into manual spreadsheet audits across dozens of locations.

Architectural Strategy

We adopted a local-first store edge paired with a centralized event-sourced ledger. Each retail location runs a lightweight .NET checkout service backed by a local SQL Server store holding active SKU prices, tax rules, loyalty balances, and pending sales journals. Checkout lines execute against local storage with zero round-trip dependency on headquarters.

Whenever network connectivity is present, a background .NET sync worker publishes signed sales, return, and stock-adjustment events over Azure Service Bus into the central SQL Server enterprise warehouse. Meanwhile, SignalR channels stream urgent updates—flash markdowns, recalled SKUs, and incoming BOPIS pickup alerts—down to active store registers within seconds.

Core Capabilities

  • Sub-Second Offline-Capable Checkout: Supports rapid barcode scanning, split tenders (cash, EMV card, gift card, loyalty points), parked carts, and automated local receipt queuing during ISP outages.
  • Deterministic Hardware Abstraction Layer: Drives USB-HID scanners, ESC/POS thermal printers, cash drawers, customer pole displays, and semi-integrated EMV terminals natively from .NET.
  • Event-Ledger Inventory & BOPIS Sync: Tracks physical sales, store transfers, shrinkage counts, and online pickup reservations in an auditable SQL Server movement ledger.
  • Omnichannel Returns & Exchanges: Validates original e-commerce or sister-store receipts at any register, restocking returned SKUs locally and issuing tender-matched refunds.
  • Blind Shift Close & Cash Control: Guides cashiers through structured till counts, safe drops, and variance tracking while enforcing manager PIN overrides on sensitive voids and discounts.

Technical Architecture

Store registers communicate over local loopback/LAN links with the .NET store host, which manages peripheral drivers and commits every receipt locally before acknowledging the cashier. Asynchronous sync agents stream compressed transaction batches to ASP.NET Core ingestion APIs and Azure Service Bus, consolidating financial and stock states inside central SQL Server.

Flow: POS Hardware (Scanners / EMV / Printers) → .NET Local Store Service & Offline SQL Cache → Azure Service Bus Sync Pipeline → ASP.NET Core Back-Office API → Central SQL Server Movement Ledger & Reporting + SignalR Store Push

Recording inventory deltas as immutable ledger rows rather than blind SET quantity = X updates guarantees deterministic convergence even when disconnected registers reconnect hours later.

Technology Stack

Category Technology detail
Register Runtime C# and .NET local store service driving cashier UI, offline ledger, and peripheral hardware
Central Back-Office ASP.NET Core web portal and REST APIs managing multi-store pricing, promos, and reporting
Enterprise Database SQL Server storing centralized SKU catalogs, store stock ledgers, shifts, and tax journals
Local Store Cache SQL Server Express / local embedded store persisting offline receipts and catalog deltas
Async Sync Bus Azure Service Bus transporting store-to-HQ sales journals, transfers, and stock events
Real-Time Alerts SignalR pushing live price overrides, BOPIS pickup alerts, and register health telemetry
Hardware Bridge OPOS / USB-HID / TCP adapters driving barcode scanners, receipt printers, scales, and EMV PIN pads
ORM & Data Access Entity Framework Core paired with tuned Dapper queries for high-throughput POS reporting

Engineering Trade-offs & Solutions

Engineering Challenge Solution & Trade-off
Pure cloud POS APIs stall checkout lanes during store broadband drops Placed an authoritative local .NET runtime and local SQL cache inside each store, trading multi-node sync orchestration for uninterrupted checkout availability.
Overwriting stock counts causes lost updates between e-commerce and registers Modeled stock changes as immutable ledger events (Sale, Return, Transfer, Count) summed via indexed views in SQL Server, ensuring conflict-free multi-store convergence.
Mixing Entity Framework Core change tracking with massive end-of-day analytical queries degraded memory Used EF Core for transactional domain writes while routing heavy multi-store margin and tax rollups through lean parameterized Dapper queries.
Unmanaged offline card acceptance carries chargeback exposure Enforced configurable store-level offline EMV floor limits and automatic encrypted store-and-forward settlement thresholds inside the payment bridge.

Security, PCI Scope & Auditability

Retail registers concentrate payment flows, employee permissions, and cash accountability. By using semi-integrated P2PE EMV PIN pads, raw cardholder numbers never enter the .NET application memory or SQL Server tables—reducing PCI-DSS compliance scope across store networks.

Every register workstation authenticates to ASP.NET Core using mutual TLS device certificates paired with short-lived cashier tokens. Manager overrides, drawer opens, price edits, and voided receipts write tamper-evident journal entries complete with terminal ID and supervisor approval signatures.

Performance & Multi-Store Scalability

Consistent register responsiveness during holiday peaks starts with keeping checkout paths strictly local and avoiding chatty network calls. Local catalog lookups execute against indexed in-memory and SQL tables in milliseconds, while SignalR pushes incremental catalog deltas rather than forcing full nightly database downloads across store links.

At headquarters, partitioning SQL Server sales journal tables by fiscal period and offloading heavy regional financial exports to read replicas ensures live store sync queues and BOPIS inventory APIs remain fast as store footprints expand.

Operational Outcomes

Consolidating brick-and-mortar checkout, hardware drivers, and centralized stock synchronization onto C#, .NET, and SQL Server brought measurable clarity to retail store and headquarters teams:

  • Uninterrupted checkout continuity: Cashiers process sales, print receipts, and settle cash or queued card payments smoothly even when store internet connections drop.
  • Unified store-to-web stock visibility: Append-only inventory ledgers eliminate discrepancies between physical shelf counts and online BOPIS availability.
  • Faster shift reconciliation: Automated blind-count workflows and centralized Z-reports replace manual end-of-day spreadsheet consolidation across regions.
  • Tighter loss-prevention governance: Real-time audit journals and badge-enforced override thresholds give regional managers transparent oversight across every register lane.

01 — Questions

asked about this kind of project

Can cashiers keep scanning items and printing receipts if a store loses internet connectivity?

Yes. Each store register persists the full active SKU catalog, tax tables, and promotion rules in a local SQL store. Cashiers complete cash and offline-queued card transactions uninterrupted, and the .NET sync agent reconciles queued receipts automatically once broadband restores.

How does the system reconcile concurrent stock updates between physical registers and online BOPIS orders?

Inventory tracks as an append-only ledger of immutable movement events (sales, returns, transfers, cycle counts) rather than fragile overwritten integer columns. Central SQL Server merges store journal events idempotently via sequence IDs and broadcasts updated net-available counts across registers and web storefronts.

How are EMV payment terminals, barcode scanners, and thermal printers integrated securely?

A dedicated .NET hardware abstraction service communicates directly with USB-HID scanners, ESC/POS printers, cash drawers, and semi-integrated EMV payment terminals over local encrypted TCP or serial links. Cardholder PAN data stays isolated inside certified P2PE payment terminals.

How do stores handle omnichannel returns—such as returning an online order at a physical register?

When online, the register queries central ASP.NET Core order APIs via barcode scan on the packing slip, validates original tender and line-item eligibility, updates local store stock immediately, and triggers refund settlement against the original payment gateway.

How does the platform prevent unauthorized register discounts or cash drawer tampering?

Sensitive actions—voiding settled lines, overriding prices past manager thresholds, or opening drawers without a sale—require supervisor PIN or NFC badge elevation validated locally and logged with cashier ID, timestamp, and reason code in SQL Server.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.