Activities of "mc86"

In main blazor or in my service blazor?

Hi maiiming My project is a Microservice Solution

Hi guys

I created an api like

   [HttpGet]
        [Route("dx/[action]")]
      
        public virtual Task<LoadResult> GetDxListAsync(DataSourceLoadOptionsBase input)//[FromBody]
        {
            return _mailsAppService.GetDxListAsync(input);
        }

There is a complex parameter(DataSourceLoadOptionsBase ) in my API. and generate a static client. but"Volo.Abp.Http.Client.ClientProxying" didn't handle it well.

then i found that in v5.0. there is a way to handle it myself. github so I add those code in my service's Httpapi.client

//in OaServiceHttpApiClientModule
 Configure<AbpHttpClientProxyingOptions>(options =>
            {
                options.QueryStringConverts.Add(typeof(DataSourceLoadOptionsBase), typeof(DataSourceLoadOptionsBaseToQueryString));
            });

            //static
            context.Services.AddStaticHttpClientProxies(
             typeof(OaServiceApplicationContractsModule).Assembly
            );
            
//DataSourceLoadOptionsBaseToQueryString.cs
public class DataSourceLoadOptionsBaseToQueryString : IObjectToQueryString<DataSourceLoadOptionsBase>, ITransientDependency
    {
        public Task<string> ConvertAsync(DataSourceLoadOptionsBase values)
        {
            if (values==null)
            {
                return null;
            }

          
            return Task.FromResult("12345678");
        }
    }

but after i called the method "GetDxListAsync" in my blazor client nothing happened.

is there someone can help me?

HI @EngincanV
I think the namespace problem is the man reason that caused the errors. It is fine for now. Thanks for your guy's work.

HI @EngincanV
about " I watched your video and I noticed your ABP Suite and ABP project versions are different. (Suite runs in v5.0.0-rc.1 and your project created in v4.4.4)" I noticed the error then when i was opreating. I delete the OA folder soon, after few second(4:30) later I create the project again use v 5.0.0 -rc1 .

I will try with your instruction.

HI @gterdem I put my video in https://drive.google.com/file/d/1gzh5A5JUfO9mj8Ts8FKEw6CVRN0YoQmd/view?usp=sharing. for convenient you can share the video to other platform which you want.

@EngincanV I have send my video to you.

HI @EngincanV did your try blazor ui? I capture my opreating screen in mp4,may I send to you?

Hi @gterdem I fllowed the document use the "dotnet build" atfter created the project. it's ok,but after the crud page created it doen't. I try the "dotnet build /graphbuild" it dosn't work

up to 5.0 rc1 also didn't work.as the same as4.4.4

HI @EngincanV. Thanks for reply I have done those steps 1.use “abp new OrderService -t microservice-service-pro” 2.use "abp add-package Volo.Abp.Commercial.SuiteTemplates" in my blazor project. (if i don't use this i will get can't find Commercial.SuiteTemplates.dll error when generating ) 3. Copy SuiteTemplates.dll to my blazor project 4.Use suite generated a test page named "Mail".

I can get my CRUD generated,but the page has a lot of errors.

Showing 111 to 120 of 122 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 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.