Multi tenant Saas resources

2019-03-16 16:44发布

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

3条回答
姐就是有狂的资本
2楼-- · 2019-03-16 17:28

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楼-- · 2019-03-16 17:37

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.
查看更多
劳资没心,怎么记你
4楼-- · 2019-03-16 17:43

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.

查看更多
登录 后发表回答