Activities of "liangshiwei"

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 });

        }
    }
}
Answer

Hi,

Here are some requirements for using unit of work

See https://abp.io/docs/latest/framework/architecture/domain-driven-design/unit-of-work#controlling-the-unit-of-work

Showing 701 to 710 of 6692 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 15, 2025, 14:41