Is it possible to have single table for abpusers and they can be part of multiple tenants where there profile will remain same and few user documents.
abpusers table will exist only in the main db user can login with subdomain of tenant, where it can shared or it's own tenant's personal db in the same server linked accounts switch the user to the other tenants (At the moment with subdomain tenants it is not working, but non-sub-domain tenants it is working)
Is it achievable in abpframework, I know I have to write custom, but where to change the code or start, it will be helpful if you can suggest?
Please note, it use to work with abp framework version: 7.. versions
Temporary Workaround:
Configure<AbpBundlingOptions>(options =>
{
options.Mode = BundlingMode.None;
});
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:
Example:
For Host Domain
Authserver: accounts.test.com Web Server: test.com Api Server: api.test.com
When unauthorized user is making a webcall it calls api.test.com
For Tenant Domain
Authserver: subdomain.accounts.test.com Web Server: subdomain.test.com Tenant Api Server: subdomain.api.test.com
Issue: When unauthorized user is making a webcall from subdomain like subdomain.test.com it calls api.test.com Expected: When unauthorized user is making a webcall from subdomain like subdomain.test.com it should call subdomain.api.test.com
In angular it should not be an issue as it is specificing in the config file {0}.api.test.com
But in MVC it is not working
"RemoteServices": { "Default": { "BaseUrl": "https://{{tenantName}}.api.test.com/" (with or without tenantName interpolation it is not working) } }
I have verified below configuration are correct:
Also, please note api.test.com it works as it is host (Correct Behaviour) subdomain.api.test.com it works as it was created as tenant (Correct Behaviour) wrong.api.test.com it does not work as it was never created as tenant (Correct Behaviour as tenant does not exist with name "wrong")
Please help with temporary workaround or is it a bug?
I have successfully migrated my old framework to the abpframework.
I executed few mysql queries to dump data from old db to abp db and inserted properly.
I managed to generate the new guid using IGuidGenerator for the data that was dumped using the query, I did some tricks during dataseeding process, make list call and then hard delete the list data.
Finally looped the in-memory data and created Guid with IGuidGenerator and in-memory data to improve the performance as well.
I have issue with few tables with concurrencystamp. Please see the screenshot.
public class ClassName : FullAuditedAggregateRoot<Guid>, IMultiTenant
So it has implemented IHasConcurrencyStamp. I can generate random value but is there any existing abp method in c# to generate concurrencystamp?
In DB, ConcurrencyStamp is null