Hi, I am developing a multi tenant ANM webapp.
The scenario is very simple: every account has its own database, e.g. the account “accountx” uses the database myapp_accountx. The account “accounty” uses the database myapp_accounty. And so on.
Every database has its own users table, so the username and password credentials must be validated in the right database. At login time I need to add the “account” field to the login form.
I’ve customized an ANM template and all goes ok.
My problem is that there are a lot of customizations to apply to an official template. Every time HKVSTORE releases a template update, we need to do the job from the beginning.
Any idea to do this?
I found this article on the web dotnetthoughts.net/building-multi-tenant-web-apps-with-aspnet-core/ but I don’t know how modify the asp net core root routines in ANM. Any idea?