📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📰 Blog

1 post in ASP.NET Core & C#

ASP.NET Core & C# 15 Nov 2026

One Codebase, Many Tenants: How ShiftTracko Isolates Customer Data in ASP.NET Core

In a multi-tenant SaaS, one forgotten Where clause can show one business another's data. Here's how I handle tenant isolation in ASP.NET Core while building ShiftTracko for Australian tradies: why I chose shared tables with a TenantId, resolving tenants from subdomains and custom domains, EF Core query filters, safe writes, background jobs, isolation tests, and why I switched to mobile-first.

⏱ 17 min 👁 27 ♥ 0 💬 0

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me