Home Archive Issue #549
Issue #549

C# Performance EF Core and Testing

Coverage includes interceptor-based duck typing, stack initialization, EF Core query diagnosis, FsCheck, Redis migration, and API contracts.

Jasen's top three picks

  1. 1
    If It Quacks - Part 2

    steven-giesel.com

    A proof of concept becomes a library, making C# interceptor-based duck typing easier to explore in real code.

  2. 2
    The Tiny C# Attribute That Stops Your Stack Being Zeroed

    jordansrowles.medium.com

    A focused look at SkipLocalsInit and why avoiding unnecessary stack zeroing can matter in performance-sensitive methods.

  3. 3
    What .NET Code Protection Actually Does (And Why Decompilers Make It Necessary)

    medium.com

    A useful primer on why CIL is readily decompiled and where code protection fits into a .NET delivery strategy.

Editor's note

I pulled together a deliberately varied mix, from low-level runtime details to architecture and frontend comparisons. The IfItQuacks library is worth a look for its practical take on interceptor-based duck typing. I also included the Azure Managed Redis migration story because real operational pressure often teaches more than a benchmark does.

Today's articles

If It Quacks - Part 2

steven-giesel.com

Some days ago I wrote about duck-typing in C# with interceptors . Back then it was a proof-of-concept with a lot of rough edges. Now it is a real library: IfItQuacks .

Topics: C#

Read article

Threading in C#

medium.com

A deep-dive walkthrough of multithreading in C# — covering the Thread class directly, the managed thread pool, race conditions and why…

Topics: C#

Read article

Avoid API Breaking Changes

codeopinion.com

Have you ever changed your backing data model and then all of a sudden all your clients explode? It’s not because you broke your code. You broke your contract. Most times API breaking changes occur be...

Topics: REST API

Read article

Related issues

📬 Save the search. Get the .NET stories worth reading at 7 AM ET.