Multi tenant Saas resources

只愿长相守 提交于 2019-12-20 14:57:48

问题


Hi We are working on a project and have decided to go with the multitenant Saas architecture level 4 and the Shared database shared schema approach as shown on this page http://msdn.microsoft.com/en-us/library/aa479086.aspx But we are not able to find the starting point i.e from where to start coding. Is there any starter kit available or any good technical resource. what i find on the internet is just the genaral discussion about saas adv/disadv. This project is in .net technologies

Thanks in advance


回答1:


My 2c on the shared schema approach...

This is my preferred approach(personal preference) but the way I see it is that the key differentiated factor is not the business logic but rather the retrieval of the data. This is one approach.

The business logic will and should operate the same way regardless of the data provided. In terms of code, the data layer should be responsible for pulling only the correct tenants data based on the tenant id. There may be some opinions that this filtering of data by tenant be also done in the business layer. One advantage is that you have the added benefit of making sure you are working with the correct tenant's data.

I don't think you will find a proper starter kit for a SAAS app. The best way in my opinion would be to read the code of a few completed projects to get you started.

On to some resources (since you have not specified what technology exactly, I am providing asp.net-mvc-related links)

  • If you planning on using asp.net-mvc, i suggest having a look at Mike Hadlows blog and Sutekishop application as well as Rob Ashton's series on some concepts of multi-tenancy.
  • if you planning on using asp.net webforms, look at LitwareHR on codeplex ( I have not personally looked through the source code, but apparently it is built of the same principles of the linked article in the question).
    • If I'm not mistaken, I think that Dot Net Nuke is also a multi tenant app.



回答2:


You can take a look at ASP.NET Iteration Zero: http://aspnetzero.com/

It's paid but well documented and have a good architecture. It's core part is open source by the way.

http://www.aspnetzero.com/Documents/Developing-Step-By-Step

http://www.aspnetboilerplate.com/Pages/Documents




回答3:


Take a look at TechCello. it covers not only the multi-tenant architecture but also maintenance for billing, etc.

•   Create Subscription
•   On-Board Customers
•   Configure Customer
•   Setup Customer Security
•   Setup Users
•   Permit User Access
•   Monitor and Control
•   Bill/Track Payments
•   Renew and Upgrade

I am not affiliated with them. I just happen to be looking for the same thing.



来源:https://stackoverflow.com/questions/4363361/multi-tenant-saas-resources

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!