Implementing Soft Delete With EF Core

#498 – March 24, 2024

A soft delete is a data persistence strategy that prevents the permanent deletion

Implementing Soft Delete With EF Core
6 minutes by Milan Jovanović

A soft delete is a data persistence strategy that prevents the permanent deletion of records from your database. Today, we'll dive into the details of how to implement soft deletes using EF Core.

Aspire Insights in Production with Sentry and OpenTelemetry
sponsored by Sentry

With the help of Sentry and OpenTelemetry, you can track errors, monitor performance, and capture metrics of your .NET Aspire apps in development and production. Learn how to wire it up today in our latest blog post.

Prefer test-doubles over mocking frameworks
12 minutes by Steve Dunn

This post describes why I prefer using in-memory test doubles over mocking frameworks for all but the simplest of scenarios in unit tests. The examples are in C# and use NSubstitute as the mocking framework, and FluentAssertions for the asserts, but the idea applies to other languages and mocking frameworks.

Source Code Disclosure in ASP.NET apps
6 minutes by Arseniy Sharoglazov

Recently, I came across an interesting ASP.NET application. It appeared to be secure, but it accidentally revealed its source code. Later, I found out that the used method is applicable to disclose code of many other .NET web applications.

Introducing .NET AI-powered Smart Components
3 minutes by Daniel Roth

Introducing .NET Smart Components, a set of genuinely useful AI-powered UI components that you can quickly and easily add to .NET apps.

Generate Local .NET Secrets from Azure Deployments
3 minutes by Frank Boucher

This post shows how to automatically generate .NET secrets that a .NET app can use from the Azure deployment.

newsletters