Newsletters

Adopt .NET 11 without surprises

November 22, 2026

A canary pipeline lets you test .NET 11 upgrades weekly in CI without touching production — one flag in Directory.Build.props does the switch. Separately, C# 15 union types let the compiler catch missing cases at build time, not runtime.

Announcing .NET 11

November 15, 2026

.NET 11 is out with C# 15 union types, faster tooling, and built-in AI dev tools including an MCP server template. Also: why session cookies are still a security weak spot, and how packing algorithms apply to restaurant bookings.

A queue is a shock absorber, not a pump

November 08, 2026

Queues absorb traffic spikes but can't speed up processing. If load exceeds capacity, the queue just grows. Meanwhile, .NET 11 runtime async slashes allocations dramatically — a 20-layer async chain drops from 1,512 bytes to 72 and runs 3× faster.

What's in a task?

November 01, 2026

AI agents that loop, check their own work, and retry until done. Plus, C# primary constructors initialize hidden fields earlier than regular constructors—which matters when base constructors touch virtual members. And new SimdUnicode functions fix broken UTF-16 strings at ~69 GB/s.

Aspect-oriented programming with Metalama in .NET

October 25, 2026

Metalama cuts repeated logging and validation code by generating it at compile time — you define a behavior once, apply it everywhere. C# 14 also gets creative: extension methods can now attach properties to existing types in two clever (but experimental) ways.

Upgrading to .NET 10

October 18, 2026

Upgrading to .NET 10 has silent pitfalls: EF Core translates queries differently, SQLite can shift stored timestamps, and ASP.NET Core now returns 401 instead of redirecting unauthenticated requests. Meanwhile, .NET 11 blocks suspiciously new NuGet packages to cut supply chain risk.

A fruit fly's brain simulated in C#

October 11, 2026

A fruit fly's brain has 166,700 neurons, and someone ran all of them in C# on a laptop — 11x faster than JS. Separately, EF Core can persist rich domain models without public setters or anemic shortcuts — the ORM was never the real excuse.

What is middleware in ASP.NET Core and the gotchas

October 04, 2026

ASP.NET Core's new CSRF protection in .NET 11 drops traditional tokens for Fetch Metadata headers — but won't help MVC or Razor Pages users. Also: version 7 GUIDs cause SQL Server index fragmentation due to byte ordering quirks.

Creating a memory dump in C#

September 27, 2026

Memory dumps can reveal what plain logs miss. A thread pool timing trick can trigger one automatically when your app slows down. Also worth reading: how a brokerage handles 1,900 stock price messages per second using Kafka, Redis, and SSE.

Performance improvements in .NET 11

September 20, 2026

.NET 11 brings massive performance gains — faster JIT, smarter async, and wins across networking, JSON, and threading. Elsewhere, modeling Bible verses reveals how quickly "simple" data gets messy, and C# 15 union types make exhaustive pattern matching a compiler-enforced reality.

Less known LINQ methods

September 13, 2026

LINQ has methods most devs never reach for — Chunk, CountBy, LeftJoin, ToLookup — each replacing messy manual code. Also worth reading: .NET 11 quietly improves Linux containers, crash reporting, and CI/CD performance over flashy features.

How to make AI write high-quality code in .NET

September 06, 2026

AI code gets more reliable when you enforce standards through build rules and static analyzers rather than prompts. Plus: Signal Shingle pre-renders dashboard widgets as cached fragments, so heavy traffic makes the system do less work, not more.

How fast is .NET 11 Runtime Async?

August 30, 2026

.NET 11's Runtime Async shifts state machine generation from the compiler to the JIT, unlocking new optimizations. Meanwhile, a deep dive into eventual consistency shows why stale data in distributed systems is a design choice, not a flaw — and why ignoring it is the real danger.

A field guide to .NET data formats

August 23, 2026

Copying blobs between Azure storage accounts? Splitting into blocks and copying in parallel within Azure cuts a 10GB transfer from over an hour to under 10 seconds. Also: Postie simplifies CQRS in ASP.NET Core by mapping commands to routes in one line.

Passkeys in ASP.NET Core 10

August 16, 2026

.NET 10 brings built-in passkey support to ASP.NET Core Identity. Separately, a solid rundown of 18 REST API security habits covers HTTPS, JWT validation, and input handling. Cache invalidation patterns and TTL strategies round out the practical picks.

.NET 11 performance edition

August 09, 2026

.NET 11 brings some solid speed wins: enum comparisons are 7x faster with zero allocations, timezone conversions doubled in speed, and GUID parsing got 20% quicker. Separately, Anton covers 20 practical ways to fix slow SQL queries — measure first, then act.

2026 .NET interview guide

August 02, 2026

.NET interviews now test real scenarios over definitions — like why injecting a scoped service into a singleton corrupts data. Also: BenchmarkDotNet paired with AI turned a branchy encoder into a branchless design, cutting latency from 8.5 ns to 1.6 ns.

Building a database in a text file

July 26, 2026

.NET 8's `TimeProvider` finally standardizes clock control for tests — pin time, call `Advance()`, and test cache expiry or retries without waiting. Separately, async code won't protect shared data: 20 parallel file writes cause crashes without explicit locks like `SemaphoreSlim`.

When our cache turned against us

July 19, 2026

Cache stampedes hit when cache misses pile up and flood your database at once. A per-key lock or ASP.NET Core's built-in HybridCache keeps only one request rebuilding while others wait. C# 15 finally adds native union types with exhaustive pattern matching enforced by the compiler.

Memory discipline and GC awareness in .NET

July 12, 2026

Frequent GC cycles quietly hurt .NET performance as short-lived objects get promoted to expensive memory tiers. Using Span, ArrayPool, and ValueTask keeps allocations low. Also, strong types can replace repeated validation across API layers, reducing duplicate code and making inputs self-validating from the start.