Blog

Developer guides and tutorials

Practical articles on the formats, protocols, and tools every developer works with. No fluff — just clear explanations with real examples.

14 Jul 2026 · 7 min read

Catastrophic Regex Backtracking in .NET: Timeouts and Safer Patterns

How nested quantifiers like (a+)+ cause exponential regex time in .NET, measured on .NET 8, with fixes: match timeouts, NonBacktracking, safer patterns.

03 Jul 2026 · 6 min read

Base64 vs Base64URL in .NET: When + and / Break URLs

Base64 can contain + and /, which behave differently in URL paths and query strings. Tested ASP.NET Core examples and the Base64URL fix.

30 Jun 2026 · 6 min read

JWT Clock Skew in .NET: Fixing IDX10222 (Token Not Yet Valid)

Why a valid JWT is rejected as not yet valid when clocks differ, how ClockSkew works (default 5 minutes), and how to backdate nbf. Tested on .NET 8.

01 Jun 2026 · 7 min read

DateTime vs DateTimeOffset in .NET: Comparison Pitfalls

DateTime comparison ignores Kind, so Local, Utc and Unspecified compare by ticks. Tested examples, the Unix-timestamp trap, and the DateTimeOffset fix.