Activities of "liangshiwei"

Hi,

You can try to use Android emulator to debug it.

Hi,

It's okay to redirect to the SSO server manually.

The best way is to redirect in the OnRedirectToIdentityProvider event.

Hi,

It seems tables created on Separate database without imultitenant interface is never used.

you can check the current context if it is host to create table like this:

if you are building a multitenant system and if you want to use separate db connection strings, even if it is not necessary to have tenantid in tables since you use separate db connection strings, you should use it in abp.

No tenantid means it's a table can shared between host and tenant

Hi,

You must add IMultiTenant interface to a multi-tenancy entity, this is the convention of the framework.

Hi,

Yes, the URL should be the SSO Server URL

Hi,

you can check the published files to make sure openiddict.pfx file is exists

Because as you know, I already captured the screen which I implement OnRedirectToIdentityProvider event and change the options value inside that. but it's seem not effect.

what is your code now.

Answer

Hi,

I can't build the project you shared.

Answer

Hi

Inject IScreenRootManager here

Answer

Hi,

You can try this:

public class CreateScreenDesignConsumer : IConsumer<IScreenDesignCreateCommand>
{
    private readonly IScreenRootManager _screenRootManager;
    private readonly ILogger<CreateScreenDesignConsumer> _logger;

    public CreateScreenDesignConsumer(IScreenRootManager screenRootManager, ILogger<CreateScreenDesignConsumer> logger)
    {
        _screenRootManager = screenRootManager;
        _logger = logger;
    }

    public virtual async Task Consume(ConsumeContext<IScreenDesignCreateCommand> context)
    {

        try
        {
            var result = await _screenRootManager.CreateAsync(context.Message);
            await context.RespondAsync(new Result<ScreenDesignCreateResult>(data: result));
        }
        catch (Exception ex)
        {
            await context.RespondAsync<Fault<Result>>
          (new { Message = "ScreenDeisgn:CreateFail", FaultMessage = ex.Message, FaultStackTrace = ex.StackTrace });

        }
    }
}
Showing 701 to 710 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 December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.