Hi,
For ex i can not understand why abp is trying to get the Volo.Abp.LanguageManagement.Texts,k:Adzup:AbpExceptionHandling_en text from redis cache?
The LanguageManagement module provides the ability to dynamic language text, but we don't want to query the database every time, so we use cache to improve performance.
Because ABP framework provides a lot of infrastructure: multilingual, multi-tenant, auditing, etc. Of course, they will affect performance, but it is enough for regular web applications.
my problem is about finding the limit of how much devices i can serve. If i can find it then i can plan it accordingly, by using clusters or with other solutions
Sorry, I can't give an answer. You can test it and find the point that affects performance. I will try to help you to improve it.
Hi,
Can you share the test project with me? I will check it. my email is shiwei.liang@volosoft.com
Ok, I'm checking.
Hi,
This is just my simple idea:
public class AuditMessageHandler : DelegatingHandler, ITransientDependency
{
private readonly NavigationManager _navigationManager;
public AuditMessageHandler(NavigationManager navigationManager)
{
_navigationManager = navigationManager;
}
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
CancellationToken cancellationToken)
{
request.Headers.Add("blazor-audit-url", _navigationManager.Uri);
return base.SendAsync(request, cancellationToken);
}
}
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<AbpHttpClientBuilderOptions>(options =>
{
options.ProxyClientBuildActions.Add((remoteServiceName, clientBuilder) =>
{
clientBuilder.AddHttpMessageHandler<AuditMessageHandler>();
});
});
}
2 You can add your AuditLogContributor to save the information to the database.
https://docs.abp.io/en/abp/latest/Audit-Logging#audit-log-contributors
Hi,
I don't know the details of your project.
Can you please use the suite to create a new project to reproduce the problem and share it with me? I will check it asap. my email is shiwei.liang@volosoft.com
Hi,
Solutions configured is on right class library or something i missed?
I'm not sure. could you use the suite to create a new project to reproduce the problem and share it with me? my email is shiwei.liang@volosoft.com I will check it asap.
Hi,
We will fix it in the next version. your ticket was refunded.
You can try:
[ExposeServices(typeof(IFormAppService))]
public class MyFormAppService : FormAppService
{
....
public override Task<PagedResultDto<FormResponseDetailedDto>> GetResponsesAsync(Guid id, GetResponseListInputDto input)
{
input.MaxResultCount = int.MaxValue;
return base.GetResponsesAsync(id, input);
}
}