IOptionsSnapshot: The Snapshot Your Singleton Froze
IOptionsSnapshot is scoped. Inject it into a singleton and Production will not throw. You get one snapshot, minted at first resolve, that ignores every reload.
Field-tested patterns, honest postmortems, and short tactical fixes on Claude, MCP, system design, Dynamics 365, and the modern web. Written for engineers who ship.
Categories
Guides and insights for Dynamics 365 Finance & Operations, Sales, Customer Service, and Copilot.
Tutorials and tips for Power Automate, PowerApps, and the broader Power Platform ecosystem.
System design, modern web development with Next.js, React, .NET, Azure, and practical coding guides.
DevOps practices, PowerShell tips, and stories from the trenches of enterprise tech.
Deep dives into designing scalable, reliable systems — URL shorteners, chat apps, rate limiters, caching, and more.
Practical guides on Claude, the Model Context Protocol (MCP), agent architectures, prompt caching, and tool use in production.
FAANG-style coding interview prep — real questions with Python solutions, organized by the nine patterns that cover most of what interviewers ask.
Start here
Nulls, blank dates, concurrency, duplicates, retries, and the trigger quirks that take production flows down.
36 articles
Indexes, set-based operations, temp tables, batch parallelism, and the Trace Parser habits that keep F&O jobs under an hour.
6 articles
Grounding, plugins, MCP, and the production constraints of Copilot in Sales, Customer Service, and Finance.
10 articles
A small, curated set of pattern write-ups — stacks, graphs, backtracking — not a dump of every prompt.
8 articles
Dual-write, virtual entities, business events, DMF, and choosing an integration pattern that survives One Version.
11 articles
Recent writing
IOptionsSnapshot is scoped. Inject it into a singleton and Production will not throw. You get one snapshot, minted at first resolve, that ignores every reload.
SELECT … FOR UPDATE locks tuples that exist. An empty scan is not a lock on the key. Two sessions both insert; a unique violation is the lucky case.
Only Add, Update, and Delete belong in a Dataverse changeset. List rows is not in that transaction, and the next Add a new row is its own commit.
Assign, SetState, Merge, and Associate are their own messages. An Update step on ownerid or statecode never sees them. On Assign, Target is an EntityReference.
A CPU limit is a CFS quota, not a wait for spare cores. Utilization looks fine. p99 does not. Requests pack the node. Limits still pause the process.
LeetCode 46 in Python. Enumerate every order with a used array or in-place swaps, and skip the start-index trick that made Subsets unique.