2025โ26 ยท Solo build
A B2B store
From an old PrestaShop to a platform built around the ERP.
- Blazor
- .NET MAUI
- SQLite
- ASP.NET Core
- SQL Server

The problem
problem.exe
The old PrestaShop site was slow, hard to integrate and hard to adapt to how the company worked. Agents used an MS Access app that only ran on Windows. Both synced with the ERP, but each in its own way.
problem.exe
An error has occurred.
yes, MS Access
The solution
A new platform that works directly on the ERP database: one API, a storefront for customers and an Android app for agents.
01
One tick and it's online
Putting an item online is as easy as ticking a box in the item master. Each customer sees only their own items, at their own prices.

02
A cart that waits
The cart lives on the server: it can stay open for ages and ages, follows the customer from one device to another and never disappears. Before the order goes out, the site checks that nothing has changed in the meantime.

03
Every order at hand
In your account you'll find your latest orders, each with its status: sent or already being processed. Any order downloads as a PDF in one click.

04
Orders with no signal
Agents have an Android tablet app with the catalog, images and prices saved on the tablet. They take orders even with no signal and send them as soon as they're back online.

The numbers
- Active customers
- 188
- Orders placed by customers
- 87%
- Items ordered
- 454,011
- Lost orders
- 0
from September 2025 to October 2026
How it's built
Architecture
ERP
SQL Server views
ASP.NET Core API
One, for the site and the app
Site and app
Blazor WebAssembly and .NET MAUI
On the tablet, catalogue, prices and orders live in SQLite; a small EmbedIO server inside the app serves the images.
- Release
- From a Git tag through GitHub Actions: tests first, then the API and site to IIS and a Cloudflare cache purge; the app updates itself.
- Tests
- xUnit on the API with in-memory SQLite (permissions, hidden prices, order numbers) and on the site's cart.
- Logging
- Serilog records every API request and every database error, in daily files kept for 14 days.
The ERP stays put
The API reads products, customers and price lists from the ERP's SQL Server views, with no copies to keep in sync. Orders go into a table the ERP imports: the schema stays the ERP's and nobody touches it.
An open order
Cart rows are open order rows, kept in the same table as sent orders, so the cart follows the customer. On send, the server closes only the rows the customer has seen: a row added meanwhile from another device stays in the cart.
Server-side numbers
On the tablet, an order is saved in SQLite and sent by the agent when there's signal: the local copy goes only once the API accepts it. The server assigns the order number and recalculates the prices from the ERP's price lists.
One UI, two apps
The site and the app share one Razor component library, so a button only gets fixed once. The pages stay separate because the app works offline: the cart, for one, exists in two versions.
Goodbye, MS Access.
Got a mess like this?
info@w-valzelli.dev
