hi
Might be a false positive of Cloudflare.
https://support.abp.io/QA/Questions/4623
hi
What is your post content?
Please share the screenshot.
hi
I have limited experience with cookie management and am wondering if there are possible issues or workarounds to consider.
something like this https://gist.github.com/maliming/b1ea80d68982a5b7064d7df6bafa89f5
hi
Redis should be used as a high-performance cache, and it is not recommended to use it across the country.
You can change the redis server closest to you.
hi
Please share steps and code to reproduce this in the new template project.
On MVC version, security logs page is always empty without any data, and blazor version lists data.
Temporary code that fixes the problem, we'll fix it in the framework.
MyProjectNameWebModule
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.Replace(ServiceDescriptor.Transient<IAbpServiceConvention, MyAbpHttpClientProxyServiceConvention>());
context.Services.AddTransient<MyAbpHttpClientProxyServiceConvention>();
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.Extensions.Options;
using Volo.Abp.Account;
using Volo.Abp.Account.ClientProxies;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.Conventions;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client.ClientProxying;
using Volo.Abp.Http.Client.Web.Conventions;
using Volo.Abp.Identity;
using Volo.Abp.Identity.ClientProxies;
namespace MyCompanyName.MyProjectName.Web;
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(MyIdentitySecurityLogClientProxy), typeof(IIdentitySecurityLogAppService), typeof(IdentitySecurityLogClientProxy))]
public class MyIdentitySecurityLogClientProxy : IdentitySecurityLogClientProxy
{
public async override Task<PagedResultDto<IdentitySecurityLogDto>> GetListAsync([FromQuery]GetIdentitySecurityLogListInput input)
{
return await RequestAsync<PagedResultDto<IdentitySecurityLogDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue
{
{ typeof(GetIdentitySecurityLogListInput), input }
});
}
public async override Task<PagedResultDto<IdentitySecurityLogDto>> GetMyListAsync([FromQuery]GetIdentitySecurityLogListInput input)
{
return await RequestAsync<PagedResultDto<IdentitySecurityLogDto>>(nameof(GetMyListAsync), new ClientProxyRequestTypeValue
{
{ typeof(GetIdentitySecurityLogListInput), input }
});
}
}
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(MyAccountClientProxy), typeof(IAccountAppService), typeof(AccountClientProxy))]
public class MyAccountClientProxy : AccountClientProxy
{
public async override Task<PagedResultDto<IdentitySecurityLogDto>> GetSecurityLogListAsync([FromQuery]GetIdentitySecurityLogListInput input)
{
return await RequestAsync<PagedResultDto<IdentitySecurityLogDto>>(nameof(GetSecurityLogListAsync), new ClientProxyRequestTypeValue
{
{ typeof(GetIdentitySecurityLogListInput), input }
});
}
}
[DisableConventionalRegistration]
public class MyAbpHttpClientProxyServiceConvention : AbpHttpClientProxyServiceConvention
{
public MyAbpHttpClientProxyServiceConvention(
IOptions<AbpAspNetCoreMvcOptions> options,
IConventionalRouteBuilder conventionalRouteBuilder,
IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder)
: base(options, conventionalRouteBuilder, clientProxyApiDescriptionFinder)
{
}
protected override void ApplyForControllers(ApplicationModel application)
{
application.Controllers.RemoveAll(x => x.ControllerName == "IdentitySecurityLogClientProxy");
application.Controllers.RemoveAll(x => x.ControllerName == "AccountClientProxyClientProxy");
base.ApplyForControllers(application);
}
}
On MVC version, security logs page is always empty without any data, and blazor version lists data.
Found the reason. Will fix it soon.
hi
Clicking on payment menu opens an error popup and after that all other pages stops functioning.
what are error logs?