We are trying to achieve the multitenancy in our asp.net (Web forms) application. We are providing separate database for each tenant. We have one master database which stores the configuration string for tenant databases. We are using Application_start (Global.asax) to go trough all connection strings and inject all session (alias) for each tenant. Every thing works fine.
我们想引入这种能力, 我们只要在主数据库中为新租户创建新数据库和连接字符串, 应用程序应能为新租户服务, 而不重新启动网站( IIS 重新启动) 。
我可以得到一些提示吗? 如何在不重新启动网站的情况下实现这个目标?
谢谢 谢谢
希希尔·库马尔·米什拉