I am building a SaaS application and I would like to retain the single code base I have. I would like to be in separate sub-domains cust1.saascompany.com, cust2.saascompany.com, etc. However, I don t have any TenantID s and would prefer for multiple reasons to stay with separate databases for each customer (primary one is that it s already coded that way and doesn t make sense to change it until usage warrants). The database has the user login membership within it.
我猜我需要单独的网络. configgs 连接字符串 。 或者我应该建立一个单独的数据库, 存储所有连接字符串和任何应用程序级别变量/ 内容 。 最后, 我希望能够实现这一供给的自动化( 如果使用允许的话 ) 。
是否有任何文章或文章可以让我指出如何用步骤来建立这个系统? 我找不到我所寻求的东西。