What is the best practice to implement multi tenancy in ASP.NET MVC using Castle Windsor?

前端 未结 1 971
失恋的感觉
失恋的感觉 2020-12-29 17:46

I have a service with two different implementations and I would like to inject into the controllers constructor, depends on a criteria (at the moment the criteria is a simpl

相关标签:
1条回答
  • 2020-12-29 18:00

    You're on the right track with handler selectors. Here are some good articles on using them for multi-tenancy, you can use them for reference:

    • http://ayende.com/Blog/archive/2008/10/05/windsor-ihandlerselector.aspx
    • http://mikehadlow.blogspot.com/2008/11/multi-tenancy-part-2-components-and.html
    • http://bartreyserhove.blogspot.com/2009/02/building-multi-tenant-applications-with.html
    0 讨论(0)
提交回复
热议问题