简体   繁体   English

ABP 中的多租户

[英]Multi-Tenancy in ABP

I'm considering using ABP / ASPNetZero for my SaaS application.我正在考虑将 ABP / ASPNetZero 用于我的 SaaS 应用程序。

I know that it supports multi-tenancy, but it appears like the tenant setup is manual.我知道它支持多租户,但看起来租户设置是手动的。

I would like to create an online app that when a visitor purchases registers and purchases a subscription, they will automatically become a tenant and get an entry into the tenant table.我想创建一个在线应用程序,当访客购买注册并购买订阅时,他们将自动成为租户并获得租户表的条目。

I would like not to have to manually create a tenant when someone registers and purchases a membership.当有人注册并购买会员资格时,我希望不必手动创建租户。

Is this possible with ABP? ABP 有可能吗?

We can allow the user to register a tenant and then create and entry into tenant table.我们可以允许用户注册一个租户,然后创建并进入租户表。 There will be a tenant license table which will store the license purchased.将有一个租户许可证表,用于存储购买的许可证。 The application will verify if the payment is due for the tenant, and if so, the user will be directed to payment gateway or else can user the application.应用程序将验证租户的付款是否到期,如果是,用户将被引导到支付网关,否则可以使用该应用程序。

I am not sure on the features provided by abp, but the implementation flow is like the above.我不确定 abp 提供的功能,但实现流程如上。 The catch is off you allow custom domain mapping for tenant URLs, the DNS update might take time, else, the remaining should be taken care by the above flow itself问题是,您允许租户 URL 的自定义域映射,DNS 更新可能需要一些时间,否则,其余部分应由上述流程本身处理

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM