┌──────────────────────────────────────────────────────────────┐
│ AHMED HUSSAIN // backend developer │
│ C# · ASP.NET Core · PostgreSQL · SQL Server │
│ shipping production code @ shifa healthcare │
└──────────────────────────────────────────────────────────────┘
SELECT
[Engineer] = 'Ahmed Hussain',
[Location] = 'Karachi, Pakistan (PKT / UTC+5)',
[CurrentRole] = 'Software Developer @ Shifa Healthcare (Remote)',
[CoreStack] = 'C# · ASP.NET Core · SQL Server · PostgreSQL',
[Focus] = 'Concurrency Control · Clean Schemas · Idempotent APIs'
WHERE
UnhandledExceptions = 0 AND IdempotencyGuaranteed = 1;| Project | What it is & Architecture | Stack | Status |
|---|---|---|---|
| Online Art Gallery | Live auction engine with EF Core optimistic concurrency (RowVersion) & auto-settlement worker |
ASP.NET Core MVC · EF Core · SQL Server · SignalR | RUNNING |
| Shifa Management System | Clinical ERP with atomic row locks (SELECT ... FOR UPDATE) & automated WhatsApp invoice pipeline |
Flutter · Supabase / PostgreSQL · Riverpod | SHIPPED |
| Mockrithm | AI technical interview simulation engine — Runner-Up @ Aptech Vision 2025 | Next.js · Firebase · Algorithms | LIVE |
| E-Books Platform | Digital library with session management and normalized relational schema | C# / MVC · Relational Database · Tailwind CSS | SHIPPED |
// 1. Idempotency — prevents duplicate transactions on double-click
var idempotencyKey = Request.Headers["X-Idempotency-Key"].ToString();
if (_memoryCache.TryGetValue(idempotencyKey, out object cached))
return Json(cached); // same response, zero duplicate processing
// 2. Optimistic concurrency — two collectors bid at the exact same millisecond
try {
await _context.SaveChangesAsync();
}
catch (DbUpdateConcurrencyException) {
return Conflict(new { message = "Another bid committed right before yours. Please reload." });
}
// 3. Auction state reset — price integrity guard
if (product.Price > (existing.CurrentBid ?? 0)) {
existing.CurrentBid = null; existing.HighestBidderId = null; existing.BidCount = 0;
} Ahmed -> bin/Release/net8.0/Ahmed.dll
info SHIFA : clinical ERP in production, atomic billing locks, automated invoices
info GALLREX : live auction engine, idempotent bids, OAuth 2.0, real users
warn APTECH25 : Runner-Up — Aptech Vision 2025 (Project: Mockrithm)
info STUDYING : BSSE @ Virtual University · ACCP @ Aptech (Expected 2027)
Build succeeded. 0 errors. 1 award. One stubborn love for clean schemas.
backend/ C# · ASP.NET Core · Web API · EF Core · Concurrency Control · SQL Server · PostgreSQL
frontend/ React · TypeScript · Next.js · Tailwind CSS · Flutter · Riverpod
security/ OAuth 2.0 (Google · GitHub · Discord) · ASP.NET Identity · RBAC · JWT
tooling/ Visual Studio · Git · GitHub · Postman · Supabase
at ShifaHealthcare.SoftwareDeveloper (Karachi, Remote — Apr 2026 — Present)
Clinical operations ERP, automated invoice dispatch, PostgreSQL row-level locks.
at Production.OnlineArtGallery (2025 — Present)
Full e-commerce platform. Real auctions. Real OAuth. Concurrency conflict resolution.
at AptechVision.Mockrithm (2025)
AI interview simulation. Runner-Up out of 50+ competing institutions across Karachi.
at Academic.Continuous_Learning (Ongoing — Expected 2027)
BSSE @ Virtual University · ACCP @ Aptech. Building while studying.
ahmedhusssain.vercel.app · ahmedhusssain.dev@gmail.com · LinkedIn
If you read this far, the bid is idempotent. You can click hire twice. It's fine.




