Implementing Soft Deletes with EF Core Global Query Filters
Stop manually adding .Where(x => !x.IsDeleted) to every query. Learn how to use EF Core Global Query Filters to implement a robust, systemic soft-delete pattern.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop manually adding .Where(x => !x.IsDeleted) to every query. Learn how to use EF Core Global Query Filters to implement a robust, systemic soft-delete pattern.
Learn how to use F# Units of Measure to prevent common unit-conversion bugs. This guide covers compile-time dimensional analysis, runtime overhead, and C# interoperability.
Establish verifiable trust boundaries for NuGet packages using author signatures and repository countersignatures. Covers minimal design, allowlist configuration, pipeline enforcement, and failure-mode mitigations.
NullReferenceException remains common because reference types were nullable by default. Enabling nullable reference types in C# shifts null checks to compile time, with adoption patterns, a worked DTO example, and trade‑offs for .NET teams.
Extract an interface from a C# class in JetBrains Rider using Refactor This, then verify with dotnet build.
Learn how to implement database-level pagination in NHibernate using IQueryable to prevent memory bloat and reduce network latency in large datasets.
Compiling textures and audio into .xnb at build time can eliminate runtime hitches in MonoGame, but it couples your project to an internal binary format. Here is how to decide and how to wire it up.
Hot Reload preserves debugger state by patching IL in memory. Learn when edits are safe, what counts as a rude edit, and how to verify updates without restarting a .NET app in Visual Studio.
Learn how to use Option Strict and Option Explicit in VB.NET to eliminate runtime type mismatches and variable typos by shifting error detection to compile-time.