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);
}
}
https://github.com/Megabit/Blazorise/issues/5100