Alper Ebicoglu
Building Multi-Tenant ASP.NET Core Applications: Best Practices and Real-World Solutions
#1about 4 minutes
Understanding the fundamentals and benefits of multi-tenancy
Multi-tenancy is an architectural approach for SaaS applications that offers cost efficiency, a consistent user experience, and easier scalability.
#2about 3 minutes
Navigating the common challenges of multi-tenant architecture
Building multi-tenant systems requires solving key challenges like data isolation, tenant-specific customization, noisy neighbors, and heightened security risks.
#3about 2 minutes
Choosing the right deployment model for your application
A hybrid deployment model combining a shared application with both shared and dedicated databases offers the most practical and flexible solution.
#4about 3 minutes
Identifying the active tenant from incoming web requests
The active tenant can be resolved from a request using various methods like user claims, query strings, URL routes, headers, cookies, or subdomains.
#5about 7 minutes
Automating data isolation with EF Core Global Query Filters
Use an IMultiTenant interface and EF Core's Global Query Filters to automatically apply tenant ID filters to all database queries, preventing data leaks.
#6about 2 minutes
Managing dynamic tenant-specific database connection strings
Support tenants with dedicated databases by storing their connection strings in a master table and dynamically resolving them at runtime.
#7about 2 minutes
Changing the active tenant context for background jobs
A disposable pattern allows you to safely switch the active tenant for background processes and ensures the original context is restored afterward.
#8about 3 minutes
Implementing database migration strategies for multi-tenant apps
A blue-green deployment with a load balancer is the recommended strategy for migrating tenant databases with minimal downtime.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
03:39 MIN
Breaking down silos between HR, tech, and business
What 2025 Taught Us: A Year-End Special with Hung Lee
03:34 MIN
The business case for sustainable high performance
Sustainable High Performance: Build It or Pay the Price
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
03:28 MIN
Shifting from talent acquisition to talent architecture
The Future of HR Lies in AND – Not in OR
06:51 MIN
Balancing business, technology, and people for holistic success
The Future of HR Lies in AND – Not in OR
04:04 MIN
Shifting HR from standard products to AI-powered platforms
Turning People Strategy into a Transformation Engine
Featured Partners
Related Videos
Blazor Unleashed: The Future of .NET Web Development
Christian Giesswein
Architectures that we can use with .NET
Alexej Sommer
Developing ASP.NET Core Microservices with Dapr: A practical guide
Marc Müller
Building Well-Architected applications
Mustafa Toroman
Develop enterprise-ready applications for Microsoft Teams with Azure resources on modern web technologies
Markus Möller
Blazor – the new SPA Framework for everyone who hates JavaScript
Christian Giesswein
.NET Microservices in Azure Container Apps
Ryan Niño Dizon
Coding an Immersive Copilot using Unity / .NET and Azure OpenAI!
Zaid Zaim
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Optimus Search
Berlin, Germany
€55-70K
Azure
Blazor
ASP.NET
.NET Core
+1


OneAdvanced
Birmingham, United Kingdom
£98K
API
Azure
Kafka
Terraform
+3

Smart Future Campus GmbH
Bochum, Germany
ETL
JSON
Azure
NoSQL
Scrum
+1

Smart Future Campus GmbH
Nettetal, Germany
ETL
JSON
Azure
NoSQL
Scrum
+1

Smart Future Campus GmbH
Krefeld, Germany
ETL
JSON
Azure
NoSQL
Scrum
+1

Smart Future Campus GmbH
Dormagen, Germany
ETL
JSON
Azure
NoSQL
Scrum
+1

Smart Future Campus GmbH
Rodgau, Germany
ETL
JSON
Azure
NoSQL
Scrum
+1