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.
I have created microservice template for my application. I am currently implementing custom localization and also working on overriding the MyAccount localization provided by the Account module in my AuthServer MVC project, following the official documentation. However, the localization texts no being reflected.
Below is my implementation of custom/override the localization:
AbpLocalizationOptions
and added AbpLocalizationModule
as [DependsOn] Dependencyusing Volo.Abp.Localization;
using Volo.Abp.Account.Localization;
IHtmlLocalizer<TestResource>
in index.cshtmlCould you please advise or review whether my implementation is correct?
Remarks: I also tried clearing the Redis cache using the Redis CLI command docker exec -it redis redis-cli flushall
, but unfortunately, it didn’t resolve the localization issue.
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,
I have created a vanilla microservice template using ABP studio(v0.9.25) . However, encountered Internal Error 500
when new created tenant is trying to access file management module. Is there any extra code implementation need to be applied for my use case?
Remarks: The File management module is working if login as host.
Thanks.
Hi,
Thank you for your support and the information provided!