Activities of "maliming"

hi

Can you share the implementation of this API?

At the same time, angular should encode the response.

hi

I read MASA.Blazor document but didn't know its design ideas.

Maybe it can't be compatible with abp, I'm not sure.

I suggest you get help from MASA.Blazor

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.

hi

I think you can replace these balzor pages. Add your tenant domain to action of ImpersonationForm.

This requires sharing cookies between the subdomain and the main domain name.

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.

Showing 7631 to 7640 of 11542 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.