AI Safety, EF Core, and .NET 11
This edition covers AWS request signing, PII-safe LLM middleware, EF Core inheritance, Blazor tooling, and ASP.NET Core security changes.
Jasen's top three picks
- 1 How to Sign Custom AWS HTTP Requests in .NET Using the SigV4 Signer
C# Corner
A practical option when an AWS service call falls outside the convenience of an SDK client.
- 2 Keep PII Out of the Prompt: Reversible Pseudonymization for LLM Calls in .NET 10
Medium
Prompt privacy needs more than a policy document; middleware that consistently masks and restores data is a useful boundary.
- 3 One Table or Three? Choosing Between TPH, TPT, and TPC in EF Core
Medium
Inheritance strategy has lasting query and migration consequences, so this comparison is worth revisiting before a model hardens.
Editor's note
I’ve assembled another deliberately broad mix, from AWS SigV4 request signing to the subtle initialization consequences of C# primary constructors. The PII pseudonymization approach is especially relevant for teams putting LLM features into production, while the ASP.NET Core authentication comparison is useful source-level release reading.
Today's articles
How to Sign Custom AWS HTTP Requests in .NET Using the SigV4 Signer
C# Corner
Learn how to use the AWS SigV4 signer in .NET to sign and send custom HTTP requests with AWS credentials, regions, and service settings.
Topics: Authentication Azure Security
Read articleKeep PII Out of the Prompt: Reversible Pseudonymization for LLM Calls in .NET 10
Medium
Mask names, emails, phones, IBANs and cards before the model sees them, then put them back safely, with one .NET middleware.
Topics: .NET 10 OpenAI Security
Read articleOne Table or Three? Choosing Between TPH, TPT, and TPC in EF Core
Medium
Your inheritance mapping decides your query shape, your constraints, and how painful your next migration will be. Here’s how to choose on…
Topics: EF Core Performance
Read articleCan a local git remote replace GitHub in your agent eval?
Microsoft Dev Blogs
When an agent eval involves pushing, pulling or keeping a git branch in sync, the fixture needs a remote repository. The easiest one to set up is a bare repository next to the fixture. It takes one gi...
Topics: GitHub GitHub Copilot
Read articlePrimary constructors are more than syntactic sugar
Steven Giesel
Did you know that switching from a "regular" constructor to a primary constructor can change when your fields get initialized? Let's see why that matters.
Topics: C#
Read articleCan a Form Be Described Only Once?
Medium
Full version: https://youtu.be/5WjUTwoPyGw (about 10 minutes)
Topics: C#
Read article.NET TimeProvider: Test Tomorrow Without Waiting
Medium
Make the current instant an input, then test the boundary directly
Topics: C# Unit Testing
Read articleReading CBOR Data Incrementally in .NET 11
C# Corner
Learn how to read CBOR data incrementally in .NET using System.Formats.Cbor, including handling incomplete chunks and validating streamed binary messages.
Topics: C#
Read articleCQRS with MediatR, Revisited for .NET 10
Medium
A 2024 guide to CQRS with MediatR, rebuilt from scratch on .NET
Read articleYour MCP Tool Should Ask First: Human Confirmation with Elicitation and MRTR in .NET 10
Medium
Stateless MCP servers can now pause a tool and ask the user. How to build it in C# without trusting the requestState that comes back.
Topics: .NET 10 OpenAI Security
Read articleBlazor Welcomes Open-Source Contributions from Infragistics
Microsoft Dev Blogs
Microsoft and Infragistics are collaborating on Blazor through free, open-source components, new .NET 11 analyzers, and developer tooling. The post Blazor Welcomes Open-Source Contributions from Infra...
Read article“It Just Closed”
Medium
The bug report that taught me to build a flight recorder into my mobile app.
Topics: Application Insights .NET MAUI
Read articleWhat's new in ASP.NET Core authentication in .NET 11
Personal Blog of Tore Nestenius | Insights on .NET, C#, and Software Development
What changed in ASP.NET Core authentication, authorization and Data Protection in .NET 11 RC2 and the .NET 10 updates, found by comparing the source code.
Topics: ASP.NET Core Authentication Authorization
Read articleHow to Build AI Agents Using ASP.NET Core and Azure OpenAI?
C# Corner
Learn how to build an AI agent API with ASP.NET Core and Azure OpenAI, including architecture, tool integration, authentication, and enterprise deployment preparation.
Topics: ASP.NET Core Azure OpenAI
Read article