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
18:30 MIN
The technical architecture of the multi-tenant web platform
Empowering Thousands of Developers: Our Journey to an Internal Developer Platform
22:21 MIN
Q&A: SynchronizationContext, tooling, and challenges
Asynchronicity and multithreading in C#
27:59 MIN
Key takeaways for building event-driven systems on Azure
Implementing an Event Sourcing strategy on Azure
51:53 MIN
Q&A on shared systems and scaling productivity
Forget Developer Platforms, Think Developer Productivity!
07:21 MIN
Exploring the different Blazor hosting and execution models
Blazor – the new SPA Framework for everyone who hates JavaScript
40:54 MIN
The benefits of building on the Azure cloud
Functions Triggers using Azure Event Grids in Azure Blob Storage
07:42 MIN
Early career as a developer and tech stack evolution
The journey from developer to devops - what i've learnt along the way
03:58 MIN
Exploring the core technology stack for the project
How Mixed Reality, Azure AI and Drones turned me into a Magician?
Featured Partners
Related Videos
Architectures that we can use with .NET
Alexej Sommer
Blazor Unleashed: The Future of .NET Web Development
Christian Giesswein
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
From learning to earning
Jobs that call for the skills explored in this talk.








