Activities of "liangshiwei"

Answer

Hi,

It will get value from ICurrentUser https://abp.io/docs/latest/framework/infrastructure/current-user

i twill set to null if there is no current user

Hi,

You can check this https://github.com/abpframework/abp/issues/20920

Hi,

you can try

 private async Task MigrateAndSeedTenantDatabaseAsync(Guid tenantId, string userName)
{
    using (_currentTenant.Change(tenantId))
    {
        await _dbSchemaMigrator.MigrateAsync();
        
        await _dataSeeder.SeedAsync(new DataSeedContext(tenant?.Id)
            .WithProperty(IdentityDataSeedContributor.AdminEmailPropertyName,
                userName)
            .WithProperty(IdentityDataSeedContributor.AdminPasswordPropertyName,
                MyProjectNameConsts.AdminPasswordDefaultValue)
        );
    }
}

https://abp.io/docs/latest/solution-templates/application-module

Hi,

When you develop a module, you will use the suite to generate code, including the UI.

Then, you reuse the module in the application.

I have an AbpMedia entity in my modules folder and the table name is AbpMedia After the CRUD generator, it creates its own entity class and the CRUD APIs target that entity not my entity

Of course, it will generate a new entity. If you already have entity classes in your module, then you should not generate entities from the database, You should reuse modules in your application like ABP did.

Also, on this page - how to have filters and column of reserved properties, like TenantID, isDeleted, DeletedId, etc

You should not generate UI, you should reuse the module's UI

Hi,

I already mentioned this, a request should be sent to the auth server to create a user.

Hi,

You should use the request header, query string, domain name, etc. to confirm the current tenant. https://abp.io/docs/latest/framework/architecture/multi-tenancy

Hi,

But is that login page also MVC? How password reset is working for us if it is also MVC?

No, it's angular, and it will redirect to auth server.

Please use OnPreApplicationInitializationAsync as a best practice. We will update them all

Showing 851 to 860 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 16, 2025, 10:35