.NET
3 articles tagged with .NET.
Messaging
Idempotent message handlers in .NET: deterministic IDs from the message ID
Learn how to make a .NET message handler idempotent by deriving the ids of the rows it writes from the id of the message it consumes.
7 min read
Security
SSRF-proof outgoing HTTP calls in .NET: resolve, check, then connect
Learn how to call URLs your users type (webhooks, imports, metadata documents) without letting them reach your own network, with a SocketsHttpHandler that checks the address it actually connects to.
8 min read
Architecture
Architecture tests that fail the build: keeping a .NET solution honest
Learn how to turn the boundaries of a .NET solution into tests that read the compiled assemblies, so that a wrong reference fails the build instead of a code review.
7 min read