Home Archive Issue #474
Issue #474

EF Core, Endpoint Filters, Memory Safety

EF Core migrations best practices, ASP.NET Core endpoint filters, FluentValidation in .NET 10, rate limiting strategies, and C# 15 union types.

Jasen's top three picks

  1. 1
    EF Core without migrations - it's only a matter of time

    roundthecode.com

    Migrations aren't optional—they're how you keep databases sane across dev, staging, and production.

  2. 2
    ASP.NET Core Endpoint Filters: A Complete Developer Guide

    c-sharpcorner.com

    Endpoint filters let you intercept and validate requests at the routing layer; cleaner than middleware for Minimal APIs.

  3. 3
    FluentValidation in ASP.NET Core .NET 10 - Request Validation

    codewithmukesh.com

    FluentValidation 12 with endpoint filters is the modern way to validate in .NET 10.

Editor's note

This week’s mix spans data consistency, API request handling, and language evolution. The EF Core migrations piece and rate-limiting guide are production-focused deep dives that’ll save you headaches. Union types finally landing in C# 15 is a long-awaited feature worth understanding early.

Today's articles

Improving C# Memory Safety

devblogs.microsoft.com

The `unsafe` keyword is being redesigned to mark caller-facing contracts rather than just syntax. Safety obligations between callers and callees become visible and reviewable. The model is motivated b...

Topics: C# Security

Read article

Union Types Are Finally Coming to C#

milanjovanovic.tech

For years we faked union types with marker interfaces, base classes, and the OneOf library. C# 15 finally bakes them into the language - and here's a quick tour of what they look like and why I think ...

Topics: C#

Read article

Related issues

📬 Get daily .NET content delivered to your inbox