Tags

#sqlserver
sqlserver

4stories
5 d agolatest
ASP.NET Core 10
Stop double charges
DVDEV Community: #aspnetcore Zohaib Ahmad 6 d ago

Designing out double charges and overselling in an ASP.NET Core POS

A write-up on Tilly POS, a multi-branch point-of-sale built with ASP.NET Core 10, EF Core and SQL Server, explains how three costly failures were designed out: double charges, half-written sales and overselling. The fixes are practical: idempotency keys backed by a unique index, one transaction per sale, and a single conditional UPDATE for stock. Useful for any .NET service that moves money or inventory.

SQL Server
Wrong session setting
DVDEV Community: #dotnet Kausar Raza Oct 23

SQL Server Msg 1934: why QUOTED_IDENTIFIER errors happen and how to fix them

SQL Server error 1934 appears when a statement uses a feature such as a filtered index while the session has QUOTED_IDENTIFIER off. The author explains why the ASP.NET Core application never sees it while the classic sqlcmd does, and how the setting interacts with stored procedures. Useful for anyone who updates ASP.NET Core Identity tables by hand.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message