Multi Tenant architecture with Docker .NET 8
Hi everyone,
I'm making an app that already have an identity service using Asp .Net Core Identity, now I have to make tenants to each user so they have dedicated services and a faster response from the back end, making a good UX.
I'm wondering what is the best approach to multi tenants, how to build it with .NET and where can I find more information about it to learn. I did two diagrams of possible ways that I want it to be (they look terrible), but I don't know how to implement them or where to find the information to learn it to select one of them based in what the app needs.
Any information regarding this subject would be appreciated, I just need resources to learn and a path to go, thank you!
2 Replies
You can start reading here:
https://learn.microsoft.com/en-us/ef/core/miscellaneous/multitenancy
Multi-tenancy - EF Core
Learn several ways to implement multi-tenant databases using Entity Framework Core.
sorry, forgot to mention that I'm using MongoDB and the MongoDB.Driver lib, but thank you, I'll get eight into it.