Search for a command to run...

The MediatR pipeline behaviors every project rewrites — request logging, a slow-request warning, FluentValidation wiring, a transaction wrapper, response caching — written once, tested, and configurable. It also ships the validation flavor I actually use: failures returned as a Result instead of thrown as an exception, because invalid input is an expected outcome, not an exceptional one. These are the behaviors I kept copying from project to project, this site's backend included, packaged so I stop rewriting them. On NuGet, for .NET 8 and MediatR 12.

Lint your RTL locale files for the bidi bugs you only see after shipping. A dotnet tool that scans localization files — JSON, .resx, Android, Apple .strings, PO, Flutter ARB — and compares them against the base culture: missing keys, dropped placeholders, Latin names rendering in the wrong order inside Arabic sentences, mixed numeral systems, and the invisible bidi controls that can hide or reorder text. I build Arabic-first interfaces, and every rule in this tool is a bug that reached production first. Configurable, with baselines for existing debt and exit codes made for CI. On NuGet: dotnet tool install -g BidiLint.

A .NET CLI that scans a solution without building it and reports how the architecture actually hangs together: every request with its handler and validators, pipeline behaviors in the order they were registered, EF Core contexts and entities, endpoints, and architecture checks that can gate CI through SARIF. It works with MediatR, the martinothamar Mediator, and Wolverine, and it ships an MCP server so an AI agent can query the map instead of guessing at the codebase. I built it after losing track of that map in my own work. On NuGet: dotnet tool install -g CqrsLens.

A list of orders in memory, rows streaming out of a database, pages from an API - from the consumer's side they are the same question: give me the next item, and tell me when there are no more. The Iterator pattern is that question answered as an interface pair, and in .NET it is the shape of foreach and LINQ themselves: hand-built enumerators, yield return, deferred execution, and the async twin IAsyncEnumerable<T> - including the costs, and when a List is the honest answer.

An order is placed, and five parts of the system need to know. The Observer pattern flips who knows about whom: the publisher announces one fact, subscribers come and go, and the publisher never changes. From hand-built subjects to C# events, IObservable<T>, and MediatR notifications - with the push and pull models demonstrated in code - including the costs, and when a direct call is the honest answer.
Questions, ideas, or opportunities—my inbox is open.
I'm available for freelance work and open to new roles. Let's connect.
1,486 contributions in the last year
1,486
contributions, last year
26
longest streak, in days
October
most active month
Mostly in El-Hakim · Naslo · CqrsLens · BidiLint