Tag: csharp

How C# Strings Silently Kill Your SQL Server Indexes in Dapper

March 5, 2026 · 5 min read
Dapper maps C# strings to nvarchar(4000) by default. If your SQL Server column is varchar, every query silently scans every row instead of seeking the index.

What's New in C# 14: Extension Members

December 8, 2025 · 5 min read
A hands-on look at using extension members to improve expressiveness and eliminate boilerplate in C#.

Building a Twitch Badge For My Site

May 18, 2020 · 5 min read
I wanted viewers of my site to know if and when I was currently streaming on my Twitch channel. So I created a handy badge that tells them when I'm online. Here's how I did it!