I build backend systems in C#/.NET, from payment and e-invoicing SDKs to storage engines and servers written from scratch. I care about clean architecture, tests that run in CI, and being explicit about what a system does and does not guarantee.
- Published 9 .NET SDKs on NuGet, each with unit tests, GitHub Actions CI and docs
- Building infrastructure from first principles: message queue, Redis- and Memcached-compatible servers, LSM-tree storage, durable execution
- Contributing fixes upstream to open source .NET projects such as DapperAOT
- Based in Cairo, working with C#, .NET, SQL Server, PHP and JavaScript
| Project | What it is |
|---|---|
| message-queue-csharp | Kafka-style message queue: segmented append-only log with CRC-checked records, partitions, consumer groups, torn-write recovery, binary TCP protocol |
| redis-csharp | Redis-compatible server: RESP2, core data types, MULTI/EXEC, pub/sub, snapshot and AOF persistence with crash recovery |
| lsm-storage-engine | LSM-tree storage engine: WAL with CRC recovery, SSTables with bloom filters, compaction, crash-simulation tests |
| memcached-csharp | Memcached-compatible server: full text protocol, LRU-bounded expiring store, System.IO.Pipelines sessions |
| durable-execution-dotnet | Durable execution for .NET: write long-running processes as ordinary C#, with a sealed history log and deterministic replay |
| spaced-repetition-trainer | Flashcard trainer with SM-2 scheduling, decks, review sessions and statistics |
| Package | What it does |
|---|---|
| Meta WhatsApp Business Cloud API: messages, templates, media, interactive messages, webhooks with HMAC validation | |
| Paymob (Egypt): checkout, HMAC-SHA512 callbacks, refund/void/capture, Intention API, ASP.NET Core DI | |
| Fawry payments: charge, authorize/capture, callback signature verification | |
| Saudi ZATCA (Fatoora) e-invoicing: TLV/QR generation, hashing, ECDSA signing | |
| Egypt ETA e-invoicing: document submission, search, validation, typed API errors | |
| National ID parsing, mobile and carrier detection, Arabic text normalization |
More: Bosta.Net (shipping), Geidea.Net and TapPayments.Net (payment gateways).


