English 中文(简体)
Nhiberate, Windsor Container, ASP.NET 和多用途
原标题:Nhibernate, WindsorContainer , ASP.NET and Multitenancy

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 重新启动) 。

我可以得到一些提示吗? 如何在不重新启动网站的情况下实现这个目标?

谢谢 谢谢

希希尔·库马尔·米什拉

问题回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签