Home Archive Issue #427
Issue #427

Logging, HTTP, and EF Core fixes

A varied .NET lineup on Serilog, HttpClient 403s, EF Core query filters, security with private endpoints, testing, generics, and AI agents.

Jasen's top three picks

  1. 1
    .NET CLI Shebangs and Argument Parsing

    nodogmablog.bryanhogan.net

    A tiny CLI shebang detail, but a big quality-of-life win if you like running C# scripts directly.

  2. 2
    Structured Logging with Serilog in ASP.NET

    benedictodoh.medium.com

    Serilog is still one of the best ways to make ASP.NET logs useful instead of noisy.

  3. 3
    Why My .NET HttpClient Kept Getting 403 Forbidden Until I Forced HTTP/1.1

    medium.com

    This HttpClient 403 tale is classic production pain: the fix was a protocol mismatch, not the API.

Editor's note

I curated another mixed issue here, with practical troubleshooting and architecture work side by side. The HttpClient 403 story is a good reminder that protocol details can matter, and the EF Core query filters piece is useful for anyone enforcing tenant or data rules. There’s also a nice logging refresher with Serilog and a lively look at building an LLM in C#.

Today's articles

How to build an LLM in C#

medium.com

I’m one of these late starters and slow learners but eventually I get obsessed about things. I’m bored of prompting someone else’s models… Continue reading on Data Science Collective »

Topics: C# OpenAI

Read article

Related issues

📬 Get daily .NET content delivered to your inbox