hi
The api website has no wwwroot/libs folder by default.
If you api website has them, you should disable CheckLibs.
Configure<AbpMvcLibsOptions>(options =>
{
options.CheckLibs = false;
});
If you api website has a packages.json file. Can you share the content?
Thanks.
hi
You can create a new localization text endpoint and add a resource name to filter the texts of a resource.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.Contracts/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/IAbpApplicationLocalizationAppService.cs#L6-L9
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.Contracts/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/ApplicationLocalizationRequestDto.cs#L5
public class ApplicationLocalizationRequestDto
{
[Required]
public string CultureName { get; set; } = default!;
// eg: AbpIdentity
public string Resource { get; set; } = default!;
public bool OnlyDynamics { get; set; }
}
hi
We already implemented an L1 cache decorator around IDistributedCache to handle the previously observed Redis transient/cancellation path.
If you remove this feature, does the problem still exist? I just want to confirm whether they're related.
Thanks.
hi
For abp 10.1:
Can you try to add the code below to your web project?
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.RemoveAll(x =>
x.ServiceType == typeof(IAbpApplicationConfigurationAppService) &&
x.ImplementationType == typeof(AbpApplicationConfigurationClientProxy));
context.Services.RemoveAll(x =>
x.ServiceType == typeof(IAbpTenantAppService) &&
x.ImplementationType == typeof(AbpTenantClientProxy));
}
@kfrancis
I think your case is different from the current case. I will check it.
Thanks.
之后你的API A, ABP B 和 AuthServer将使用相同的数据库.
AuthServer既可作为统一的身份认证服务器, 你需要在其中创建2个client/application, 之后给API A和B签发和验证token.
hi
You can add a middleware to output more request info to logs in your production environment.
Thanks.
hi
Private/confidential data will not be included in the localization texts.
Some of your open pages may also use localization texts. for example: login/register pages.
Thanks.