Start Debugging

Daily notes on .NET, C#, EF Core, MAUI, Blazor, and Flutter - for developers who ship.

How to Keep Secrets Out of .claude/settings.local.json When "Don't Ask Again" Saves a Token as an Allow Rule

Choosing "Yes, and don't ask again" on a Bash command with an inline token used to write that token into .claude/settings.local.json as an allow rule. What Claude Code 2.1.323 changed, how to find and clean rules that already hold a credential, how to tell if the file is tracked by git, and a tested PreToolUse hook that stops Claude from inlining tokens in the first place.

How to Subscribe to Claude API Organization Webhooks

Register an HTTPS endpoint with POST /v1/organizations/webhooks and the anthropic-beta: webhooks-2026-10-07 header, store the whsec_ signing secret from the create response, verify deliveries with client.beta.webhooks.unwrap(), answer 2xx within 5 seconds, dedupe on webhook-id and poll to catch up on dropped events. Covers the five event types, which ones are actually delivered today, the 32-endpoint limit, secret rotation and the 404s you get when the beta is not on. Receiver checked against anthropic 2.12.0 and standardwebhooks 1.3.0.
Page 1 of 120 Next ›