Hi
Tested in app
template is working.. but not working in microservice
template. I have sent you the project via wetransfer. Could you please advise?
Thanks.
Hi,
Sent via wetransfer.
Thanks.
Hi,
Thanks again for your help. Everything is clear now.
Hi,
Thanks for your detailed explanation.
The default connection string is used as a fallback value if you don't define a connection string for a specific microservice database and it's also supported in microservices. (https://abp.io/docs/latest/solution-templates/microservice/database-configurations#the-connection-string-management-modal)
Currently, I am trying to setup a new tenant with Default connection string
and Use module specific database connection string
for file-management service and Identity service(Refers to screenshot below).
Based on my understanding, the Default
database will include tables from other microservices(e.g., administration, audit logging), except for those services that are explicitly configured to Use module specific database connection string
. After i clicked the Save button, the EF migration was triggered. Noticed that, some tables from other services(administration, auditlog) are missing fromDefault
database. As i expected, all tables from services not using specific connection string should be included in the Default
database. Did I miss any configuration or is this the expected behavior? I would appreciate your help in clarifying this for me.
Thanks.
Hi,
Thanks for your clarification. Do i need to do the same for BlobStoring database as well since file-management module based on blob storing system? Does it mean in microservice template, we must use module specific database
approach if make use of file-management service and Default
database approach does not support this?
Thanks.
Hi,
Thanks for your prompt reply.
I have tried to use Default
connectionstring. Noticed that, the Default
database missing some of the tables (E.g Identity related tables) and cause the tenant failed to login. I have even clicked Apply database migrations
to confirm the migration run successfully. However, missing tables still not being applied. Could you please advise?
Thanks.
Hi,
Thank you for your support and the information provided!
Hi,
The workaround solution is working. May I know in which version release the permanent fix will be included?
Thanks.
Hi,
Apologies, I believe the ticket description may have caused some confusion. My issue is not related to query string. Based on the email i sent you previously, the issue was related to resolving the tenant using the Subdomain Tenant Resolver approach.
We don't apply any redirect or rewrite rules and also load balancer, as we are using ABP Studio to run my solutions in our local machine. The ?&&
issue occurred in both development and production builds on my local machine.
Can we schedule remote session to investigate the issue?
Additional Info The minimal project I sent you was generated using microservice solution template in ABP Studio. On top of that solution I implemented the multi-tenancy resolver using the Subdomain Tenant Resolver approach, following the guidance provided here: https://abp.io/docs/latest/framework/architecture/multi-tenancy#domain-subdomain-tenant-resolver. I'm not sure if you're able to follow the same steps on your end to reproduce the issue?
Thanks.