Activities of "maliming"

hi

Please share the logst.txt with liming.ma@volosoft.com

Thanks.

hi

In the module, there is an HttpApi layer.

You should add a new controller that implements the ISiteRiskIndexAppService and add Route attributes.

eg IdentityUserController and IIdentityUserAppService

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserController.cs#L0-L1

Where did you add this new app service? In your app or a module?

Thanks.

hi

Can you remove the abstract keyword?

public class SiteRiskIndexAppService :

hi

The cmskit page will use the ABP layout from the theme module.

You can override the layout to add your custom meta elements. Get the current page info by Slug to determine your logic.

hi

Why did you add the MyDynamicResourceLocalizer?

What is its purpose?

Thanks.

hi

Is your problem solved?

Attached is the video for reference

Where is the video?

Thanks.

The issue arises because your application service inherits a generic interface, which the default service cannot recognize.

hi

Can you try to remove [RemoteService(false)] and add MyAbpHttpClientProxyServiceConvention to your Blazor project?

public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.Replace(ServiceDescriptor.Transient<IAbpServiceConvention, MyAbpHttpClientProxyServiceConvention>());
    context.Services.AddTransient<MyAbpHttpClientProxyServiceConvention>();
}
using System.Linq;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.Extensions.Options;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.Conventions;
using Volo.Abp.Http.Client.ClientProxying;
using Volo.Abp.Http.Client.StaticProxying;
using Volo.Abp.Http.Client.Web.Conventions;
using Volo.Abp.Http.Modeling;
using Volo.Abp.Reflection;

namespace SEF.Blazor;

public class MyAbpHttpClientProxyServiceConvention : AbpHttpClientProxyServiceConvention
{
    public MyAbpHttpClientProxyServiceConvention(
        IOptions<AbpAspNetCoreMvcOptions> options,
        IConventionalRouteBuilder conventionalRouteBuilder,
        IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder,
        IOptions<AbpHttpClientStaticProxyingOptions> staticProxyingOptions)
        : base(options, conventionalRouteBuilder, clientProxyApiDescriptionFinder, staticProxyingOptions)
    {
    }

    protected override ActionApiDescriptionModel? FindActionApiDescriptionModel(ControllerModel controller, ActionModel action)
    {
        var appServiceType = FindAppServiceInterfaceType(controller);
        if (appServiceType == null)
        {
            return null;
        }

        var key =
            $"{appServiceType.FullName}." +
            $"{action.ActionMethod.Name}." +
            $"{string.Join("-", action.Parameters.Select(x => TypeHelper.GetFullNameHandlingNullableAndGenerics(x.ParameterType)))}";

        var actionApiDescriptionModel = ClientProxyApiDescriptionFinder.FindAction(key);
        if (actionApiDescriptionModel == null)
        {
            return null;
        }

        return actionApiDescriptionModel;
        
        // if (actionApiDescriptionModel.ImplementFrom!.StartsWith("Volo.Abp.Application.Services"))
        // {
        //     return actionApiDescriptionModel;
        // }

        // if (appServiceType.FullName != null && actionApiDescriptionModel.ImplementFrom.StartsWith(appServiceType.FullName))
        // {
        //     return actionApiDescriptionModel;
        // }

        // return null;
    }
}

Can you share the screenshots of the response headers and body?

eg:

Thanks.

Showing 201 to 210 of 10715 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 16, 2025, 10:35