#SQLServer Posts
Backing Up SQL Server the Right Way
Backups are one of the most important aspects of managing a SQL Server database, yet they are often overlooked until something goes wrong. Whether you are protecting a business-critical system or a personal project, having a reliable backup strategy can mean the difference between a minor inconvenience and a complete disaster. In this article, I will cover the key principles of backing up SQL Server correctly and avoiding some common mistakes.

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.

Writing Raw SQL When Entity Framework Isn’t Enough
Entity Framework makes database access straightforward, handling most queries with minimal code. However, there are situations where LINQ queries become difficult to optimise, database-specific features are required, or performance is critical. In these cases, writing raw SQL can provide greater control, improved efficiency, and access to capabilities that Entity Framework does not directly support.

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.

Popular in #SQLServer
Backing Up SQL Server the Right Way
Admin in SQL
Handling Soft Deletes in EF Core
Admin in 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!
