多租户 Saas 资源

发布于 2024-10-06 04:45:33 字数 307 浏览 10 评论 0原文

你好 我们正在开发一个项目,并决定采用多租户 Saas 架构 级别 4 和共享数据库共享架构方法,如本页所示 http://msdn .microsoft.com/en-us/library/aa479086.aspx 但我们无法找到起点,即从哪里开始编码。 是否有任何可用的入门套件或任何好的技术资源。我在互联网上找到的只是关于 saas adv/disadv 的一般性讨论。 该项目采用 .net 技术

提前致谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

池予 2024-10-13 04:45:33

我对共享模式方法的 2c...

这是我的首选方法(个人偏好),但我认为关键的差异化因素不是业务逻辑,而是数据的检索。这是一种方法。

无论提供什么数据,业务逻辑都将并且应该以相同的方式运行。在代码方面,数据层应该负责根据租户 ID 仅拉取正确的租户数据。可能有人认为租户对数据的过滤也应该在业务层中完成。优点之一是您可以获得额外的好处,即确保您使用的是正确的租户数据。

我认为您不会找到适合 SAAS 应用程序的入门套件。我认为最好的方法是阅读一些已完成项目的代码来帮助您入门。

关于一些资源(由于您没有具体说明具体是什么技术,我提供了与 ASP.NET-MVC 相关的链接)

  • 如果您计划使用 ASP.NET-MVC,我建议您查看 Mike Hadlows 博客Sutekishop 应用程序以及关于某些概念的Rob Ashton 的系列的多租户。
  • 如果您计划使用 asp.net webforms,请查看 codeplex 上的 LitwareHR (我个人没有查看源代码代码,但显然它是按照问题中链接文章的相同原理构建的)。
    • 如果我没记错的话,我认为 Dot Net Nuke 也是一款多租户应用。

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.
泪眸﹌ 2024-10-13 04:45:33

您可以查看 ASP.NET Iteration Zero:http://aspnetzero.com/

它是付费的,但有详细的文档记录,并且有一个好的架构。
顺便说一句,它的核心部分是开源的。

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

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

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

层林尽染 2024-10-13 04:45:33

看看 TechCello。它不仅涵盖多租户架构,还涵盖计费维护等。

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

我不隶属于他们。我只是碰巧在寻找同样的东西。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文