Activities of "liangshiwei"

You can check this: https://docs.abp.io/en/abp/latest/Multi-Tenancy#determining-the-current-tenant

Hi,

I don't quite understand what you mean.

You can publish the application in the Staging environment for SANDBOX:

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-7.0

Hi,

Yes, it is constant. we don't recommend you change it.

But however, you can change it if you want.

You can replace the implementation of the IIdentityDataSeeder interface with your own. https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityDataSeeder.cs

On my local environment, on Saas > Tenants screen, I created a new tenant, could you tell me the ULR of created tenant will be?

Are you talking about the API URL? you can open the swagger page to check it /swagger.

[Database migration has been queued and will be applied soon.] is displayed, where/how can I check the migration result?

There is no notification here, but you can check the database if it's migrated. you can also check the logs.

Answer

Hi,

Try this:

Configure<AbpBundlingOptions>(options =>
{
    // Replace MyCompanyName.MyProjectName.Web with your project name
    options.MinificationIgnoredFiles.Add("/MyCompanyName.MyProjectName.Web.styles.css");
    options.StyleBundles.Configure(
        LeptonXThemeBundles.Styles.Global,
        bundle =>
        {
            bundle.AddFiles("/MyCompanyName.MyProjectName.Web.styles.css");
        }
    );
});

Hi,

You can try to disable elastic security:

- xpack.security.enabled=false:

Hi,

I think the linked account feature is suitable for you, you can check it.

Users can link to other accounts, and you can also automatically link through the code: https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityLinkUserManager.cs#L74

Hi,

No, they are actually different users, but all the information is the same

Hi,

yes, it's possible.

You can add a field for the user via the object extension system, for example: IsAvailableAllTenants

Then use domain events to synchronize user information to all tenants.

 public class MyHandler : ILocalEventHandler<EntityCreatedEventData<IdentityUser>>,
          ITransientDependency
{
    public async Task HandleEventAsync(
        EntityCreatedEventData<IdentityUser> eventData)
    {
        if(eventData.Entity.GetProperty<Bool>("IsAvailableAllTenants"))
        {
            
            var tenants =await TenantRepository.GetAllListAsync();
            foreach(var tenant in tenants)
            {
               using(CurrentTenant.Change(tenant.Id))
               {
                  // create a user for all tenants...
               }               
            }
        }
    }
}

You should also handle the update and delete events.

Hi,

It will only roll back the operation of the current database and will not affect other databases

See: https://github.com/abpframework/abp/issues/11948#issuecomment-1071162824

Showing 4161 to 4170 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 November 04, 2025, 06:41