Problem
A phone retailer wanted to sell online with accurate stock and a transparent, auditable way to share commission with its technology partner.
Approach
The commission rate is snapshotted per order so historical orders never change, and stock, concurrency and order-status rules are covered by automated tests.
Architecture
Clean Architecture (Domain, Application, Infrastructure, Web) on ASP.NET Core 10 Razor Pages, EF Core 10, SQL Server and ASP.NET Core Identity, with Bootstrap 5 for the interface and a full documentation set (architecture, database, user guide, deployment, security).
Technology
ASP.NET Core, C#, Entity Framework Core, SQL Server, ASP.NET Core Identity, Razor Pages, Bootstrap, Clean Architecture
Features
Catalogue with filters, search and pagination; product pages with variant picker; cart; guest or account checkout; order tracking for signed-in customers and guests; commission lifecycle (pending, confirmed, cancelled, refunded, paid) and CSV reports.
Outcome
Live at akgadgets.co.zw, backed by 98 automated tests covering commission calculation, order totals, stock and concurrency, status transitions, checkout and authorization.