Activities of "maliming"

If other projects refer to high-version packages, you can only wait for abp to upgrade

You can try to add <PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.18" /> to your project.

You can get the current clientid. Then you can execute custom logic

public async Task<string> MyMethodAsync()
{
    var clientIdClaim = CurrentUser.GetAllClaims().FirstOrDefault(x => x.Type == AbpClaimTypes.ClientId);
    if (clientIdClaim != null)
    {
        if (clientIdClaim.Value == "public")
        {

        }

        if (clientIdClaim.Value == "private")
        {

        }
    }

}

hi

We are using the <PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.18" /> on 7.x

hi

Different units of work use different dbcontxt, so you have to put code in one unit of work.

hi

Method not found

Can you share some code/project to reproduce it? liming.ma@volosoft.com

hi

It seems the project still using the Sql Server.

You can try to search SqlServer keyword globally, then replace it to PostgreSQL

https://docs.abp.io/en/abp/latest/Entity-Framework-Core-PostgreSQL

hi

Please share with me a project that can reproduce the problem, Thanks liming.ma@volosoft.com

hi

Please remove UseDeveloperExceptionPage related code and catch the exception to see its code and message.

// if (env.IsDevelopment())
// {
//     app.UseDeveloperExceptionPage();
// }
// else
// {
//     app.UseErrorPage();
//     app.UseHsts();
// }

app.Use(async (httpContext, func) =>
{

    try
    {
        await func(httpContext);
    }
    catch (BusinessException e)
    {
        Console.WriteLine(e.Code);
        throw;
    }
});

hi

What the code of BusinessException?

Showing 7441 to 7450 of 11558 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.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.