Hi liangshiwei! Thanks guide for me. I have one more question. The configure subdomain for tenant in angular application required to domain 2nd level?
Hi, As instructed in your documentation, we can determine current tenant either by subdomain (like mytenant1.mydomain.com) or by the whole domain (like mytenant.com). But there’s no example of determining current tenant by the whole domain. It’s highly appreciated if you coud help me configure the AbpTenantResolveOptions to determining current tenant by his whole domain. For example, we have the following domains: -) For Host side:
-) For Tenant 1:
-) For Tennant 2
Hi liangshiwei! How to configure when resolver Host tenant in angular project and public website project? Can you help me?
Hi liangshiwei! Can you help me for this?
Hi liangshiwei! We onle see the problem happen on cloud (after deploy to AKS(Azure Kubenetes service)) Can I share you sreen shot error and current config?
Hi liangshiwei! Currently, I'm configuring multitenant with AbpTenantResolveOptions AddDomainTenantResolver and custom contributor class. Here is the code:
this document: https://docs.abp.io/en/abp/latest/UI/Angular/Multi-Tenancy I used below code to configure multi tenant on angular project and public website project. Here is the code:
Currently, this is not working. Can you support me for this?
Hello I would like to ask about angular in multi tenants Could you please tell me how to config seprate domain for each tenant for angular? Should I config multi dynamic-env-json? Do you have any sample repository?
Hi jfistelmann
Currently I extend from this class TenantResolveContributorBase Then I can get the scope by using "context.ServiceProvider.CreateScope()" I can get the current tenant, but i cannot change tenant based on the teant that I get Am I right to use the code below? Could you tell me how to change the current tenant info?
here is the code:
Hi liangshiwei
Currently I extend from this class TenantResolveContributorBase Then I can get the scope by using "context.GetHttpContext().Request.Host.Host;" I can get the current tenant, but i cannot change tenant based on the teant that I get Am I right to use the code below? Could you tell me how to change the current tenant info?