Activities of "liangshiwei"

We have an example of how to custom Identityuser: https://github.com/abpframework/abp-samples/tree/master/DocumentationSamples/CustomApplicationModules

Most time was taken to read https://docs.abp.io/en/abp/latest/Authorization, but it was worth reading :-). what I understand is Permission like CRUD can be design but that is for Entity level, however I need to define permission for each application created in Volo.Abp.OpenIddict.OpenIddictApplication Individual Application created in OpenIddictApplication

You can grant permissions to OpenIddictApplication.

Hi,

Actually, this is not about ABP, can you check this: https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/dotnet-core?view=azure-devops&tabs=dotnetfive#publish-artifacts-to-azure-pipelines

Hi,

You can try this:

1

Run the abp generate-proxy -m userTaskService -t csharp -url https://localhost:44377 --without-contracts command on the Exceego.EHSWatch.AppV3.UserTaskService.HttpApi.Client project

2

Open the UserTaskServiceHttpApiClientModule class and change AddHttpClientProxies to AddStaticHttpClientProxies

You can see it's working:

But it's still a problem, I'll consider enhancing it: https://github.com/abpframework/abp/issues/16323

Hi,

You can see the test result:

This way should work:

public async Task<ScreenDto> GetAsync(Guid id)
{
    var inventory = await _inventoryScreenAppService.GetAsync(id);
    var campaign = await _campaignScreenAppService.GetAsync(id);

    var screenDto = new ScreenDto();
    ObjectMapper.Map(inventory, screenDto);
    ObjectMapper.Map(campaign, screenDto);

    return screenDto;
}

Hi,

Because there is no local account here, you can try this:

.AddOpenIdConnect(Azure...,options =>
{
    var tokenValidated = options.Events.OnTokenValidated;
    options.Events.OnTokenValidated = validatedContext =>
    {
        tokenValidated.Invoke(validatedContext);
        validatedContext.Principal.AddClaim(AbpClaimTypes.Email, validatedContext.Principal.FindFirstValue(ClaimTypes.Email));
        return Task.CompletedTask;
    };
})
Answer

Hi,

Actually, we've already partially done that, you can see that all app services have migration event handlers

You can refer to this method to achieve a complete distributed migration

Hi,

Please email me when you have time,

BTW, You can also share a project that can reproduce the problem with me shiwei.liang@volosoft.com, I will check it out.

Hi,

It's possible, but your web project should be completely independent and not refer to any service project.

  • Move all web pages of services to the web app.
  • Remove all service dependencies
  • Generate static proxy for the web app: https://docs.abp.io/en/abp/latest/CLI#options-6

Generate static proxy for the web app: https://docs.abp.io/en/abp/latest/CLI#options-6

We support this feature after 7.0.0, (It also requires that the service version is 7.0.0.) :https://github.com/abpframework/abp/issues/13613 But you can check changes of PR: https://github.com/abpframework/abp/pull/14429/files to customize your project

Hi,

The ABP suite doesn't support adding modules to module template yet.

You need to add it manually. we will consider. we will consider enhancing it in future versions

Showing 4031 to 4040 of 6693 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 October 30, 2025, 06:33