C#
CSOM Performance: Fast …
TL;DR Problem: Loading taxonomy fields via CSOM for SharePoint list items with many terms is painfully slow. Including taxonomy fields in ViewFields makes the initial query extremely expensive. Solution: Batch-load items in chunks, use FieldValuesForEdit to get raw taxonomy data, and parse the …
SharePoint CSOM: Prevent …
TL;DR Problem: I was building an API that was blindly updating SharePoint list items, even when users didn’t actually change anything. Classic “save happy” user behavior was triggering thousands of pointless API calls. Solution: Built smart field change detection that asks …
SharePoint's Server-Side …
TL;DR Problem: Client making 90,000 CSOM calls/month, 88% were redundant EnsureUser operations for users already on the site. Solution: Use FieldUserValue.FromUser() optimistically with ExceptionHandlingScope for server-side try-catch logic. Impact: 75-85% reduction in API calls (90,000 → …