Published onAugust 22, 2026Audit Trial in ASP.NET Core Web API and EF Core.netcsharpentity-frameworkefcoreaspnetcoreauditingRecord who changed what and when, automatically, by overriding SaveChangesAsync and walking the EF Core change tracker - with old/new values as JSON, sensitive fields stripped, and the current user pulled from the request.