Identity, Async Migration and Postgres Outbox
This edition covers AI merge guardrails, persistent EF Core workflows, mapping choices, C# 15, OAuth sign-in, and Minimal APIs.
Jasen's top three picks
- 1 Make Bad Code Impossible to Merge: Guardrails for AI-Written .NET
Medium
AI assistance changes the review boundary; enforceable repository guardrails are more dependable than hoping generated code is always sound.
- 2 Use Open.IdentityServer for OpenID Connect in an Aspire setup
Software Engineering
A practical look at bringing OpenID Connect and ASP.NET Core Identity into an Aspire-based environment.
- 3 How to Automate PowerPoint Slides in C#: Add, Delete, Copy & Hide
Medium
Useful application automation coverage for teams generating, maintaining, or cleaning presentation decks programmatically.
Editor's note
I’ve pulled together another deliberately varied mix, from identity infrastructure to practical application plumbing. The Aspire and Open.IdentityServer walkthrough is useful for teams evaluating a self-hosted OIDC setup, while the Postgres outbox comparison gets into a failure mode distributed systems cannot ignore. I also included the runtime async migration piece because understanding the code impact matters as much as benchmark results.
Today's articles
Use Open.IdentityServer for OpenID Connect in an Aspire setup
Software Engineering
This article demonstrates how to build an OpenID Connect server using Open.IdentityServer (Rock Solid Knowledge) integrated with ASP.NET Core Identity to provide identity and access management (IAM). ...
Topics: .NET Aspire Authentication Authorization
Read articleHow to Automate PowerPoint Slides in C#: Add, Delete, Copy & Hide
Medium
If you are building dynamic reports, automating branded decks, or batch-cleaning a PPT template, you need to programmatically control the…
Topics: C#
Read articleSaving Long-Running .NET Workflows When an Application Restarts
C# Corner
Build a persistent .NET workflow with EF Core and BackgroundService that saves step status, resumes unfinished work after restarts, and avoids duplicate operations.
Topics: EF Core
Read articleOAuth2 + OIDC Sign-In Across Platforms: One .NET Library for Every Provider
Medium
Polhem.OAuth2 (https://github.com/polhem-dev/polhem-oauth2) now supports OpenID Connect, the sign-in standard built on top of OAuth2…
Topics: Authentication OAuth
Read articleMigrating to runtime async
Meziantou's blog
This is the last post of the series proper, with one bonus post to follow. The previous two posts showed what runtime async does to the IL and to the numbers. This one is about the code you already ha...
Topics: C# Performance
Read articleOutbox Pattern in Postgres: Concurrent Workers vs Reading the WAL
Milan's .NET Weekly
An API can save an order and crash before publishing the message that tells other services about it.
Topics: PostgreSQL
Read articleAutoMapper vs Mapster vs Manual Mapping
Medium
Decide how Store.Api turns entities into responses and requests into updates, now that AutoMapper is commercial.
Topics: AutoMapper
Read articleC# 15 is Here! 7 Awesome Features That Will Change How We Code in .NET 11
Medium
Hello, .NET developers! 👋
Topics: C#
Read articleThe Simplest Way to Build a REST API in .NET — Minimal API
Medium
Java and .NET are well-known platforms for building complete REST API projects, offering a rich set of built-in features (authorization…
Topics: Minimal APIs REST API Web API
Read article