Latest C# Posts

Handling Soft Deletes in EF Core

When working with business applications, permanently deleting data is often undesirable. Records may need to be restored, audited or retained for compliance purposes. Soft deletes provide a simple solution by marking records as deleted rather than removing them from the database. In this article, we'll explore how to implement soft deletes in Entity Framework Core using query filters and save interception techniques.

Admin in C#
05-Jun-2026
Handling Soft Deletes in EF Core

Tracking vs No-Tracking Queries Explained

When working with Entity Framework, one of the most overlooked performance considerations is whether queries should be tracked or not. By default, Entity Framework tracks entities returned from queries, allowing changes to be detected and saved automatically. However, tracking comes with overhead and is not always necessary. Understanding when to use tracking and no-tracking queries can improve application performance and reduce memory usage.

Admin in C#
02-Jun-2026
Tracking vs No-Tracking Queries Explained

Migrations in EF Core Without Breaking Production

Entity Framework Core migrations make database changes manageable, but applying them incorrectly can cause downtime, failed deployments, or data loss in production. This article explores practical strategies for safely managing EF Core migrations, including deployment planning, testing, rollback preparation, and handling schema changes in live environments without disrupting users.

Admin in C#
27-May-2026
Migrations in EF Core Without Breaking Production

Entity Framework Core Performance Tips

Entity Framework Core is a powerful ORM for .NET developers, but poor query design and inefficient data access can quickly create performance bottlenecks. This article explores practical techniques for improving application speed, reducing database load, and making EF Core applications more scalable and responsive in production environments.

Admin in C#
16-May-2026
Entity Framework Core Performance Tips

Recreating a Classic Amiga Demo Effect in Modern C#

The demoscene on the Commodore Amiga pushed hardware to its limits with clever tricks and tight optimisation. In this article, we revisit one of those iconic visual effects and recreate it using modern C#. By combining mathematical principles with today’s frameworks, we can bring retro visuals to life while appreciating the ingenuity of early developers.

Admin in C#
06-May-2026
Recreating a Classic Amiga Demo Effect in Modern C#

Become a member

Get the latest news right in your inbox. It's free and you can unsubscribe at any time. We hate spam as much as we do, so we never spam!

The Bedroom Coder — retro computers, modern .NET, and late-night experiments.

Navigation

Contact

Want to talk retro tech or modern coding? I'd love to hear your thoughts.

© 2026 The Bedroom Coder. All rights reserved.