Home Archive Issue #483
Issue #483

PostgreSQL Migration, Async, Authorization

Coverage includes a .NET move to PostgreSQL, async and cancellation guidance, custom ASP.NET Core auth, EF Core auditing, and caching.

Jasen's top three picks

  1. 1
    We Moved from SQL Server to PostgreSQL in a .NET

    medium.com

    Real migration writeups are always more useful than abstract comparisons, especially when they include cost and operational reasons.

  2. 2
    Understand .NET ConfigureAwait(), .Result and await

    medium.com

    Still a worthwhile topic because async mistakes in .NET usually show up as reliability problems later.

  3. 3
    Building Custom Role-Based Authorization in ASP.NET Core Using Attributes and Middleware

    medium.com

    Useful for teams that have outgrown simple policy checks and need something more tailored.

Editor's note

I put together another intentionally mixed issue today, with a few pieces that solve very practical problems. The PostgreSQL migration story stands out because it gets into cost and cloud tradeoffs, and the async coverage around ConfigureAwait, .Result, and CancellationToken is the kind of material that keeps production code out of trouble. I also liked the custom ASP.NET Core authorization article and the EF Core audit logging piece for their day-to-day usefulness.

Today's articles

New lines are more than and

meziantou.net

When we talk about new lines, most developers think about (Windows) and (Unix-like systems). That works most of the time, but it is not the full picture. Unicode and several regex engines reco...

Topics: C#

Read article

Related issues

📬 Get daily .NET content delivered to your inbox