多租户Saas资源 [英] Multi tenant Saas resources

查看:223
本文介绍了多租户Saas资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我们正在研究一个项目,并决定采用多租户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

预先感谢

推荐答案

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

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.

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

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.

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

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.

在一些资源上(由于您尚未确切指定什么技术,因此我提供了与asp.net-mvc相关的链接)

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

  • 如果您打算使用asp.net-mvc,建议您查看 Mike Hadlows博客 Sutekishop应用程序以及 LitwareHR (我个人没有看过通过源代码,但显然,它是基于问题中链接文章的相同原理构建的).
    • 如果我没记错的话,我认为Dot Net Nuke也是多租户应用程序.
    • 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.

      这篇关于多租户Saas资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆