Activities of "liangshiwei"

About redis error, please see https://stackoverflow.com/questions/35614066/redissessionstateprovider-err-unknown-command-eval

Hi,

Currently will not create a database after creating a tenant, you need run .DbMigrator project to create tenant database.

Login failed for user 'sa'

Make sure your username and password are correct.

Hi,

The auth server will call back to your website and set cookie, BackendAdminApp.Host can determine the current tenant from the cookie.

Hi,

If you want to resolve tenants from subdomain first,You can add DomainTenantResolveContributor as the first priority, like this:

Configure<AbpTenantResolveOptions>(option =>
{
    option.TenantResolvers.AddFirst(new DomainTenantResolveContributor("{0}.mydomain.com"));
});

Please provide your logs file

Hi,

Try:

using (_currentTenant.Change(tenant.Id))
{
    await ServiceProvider.
        GetRequiredService<KantanDbMigrationService>()
        .MigrateTenantDatabasesAsync(tenant);
}

Hi, You can reffer microservices example: https://docs.abp.io/en/abp/latest/Samples/Microservice-Demo.

In the microservices example, the tenant management is deployed separately but does not have its own database.

You just set the connection string in appsetting.json, add and apply database migration.

Hi, You can reffer microservices example: https://docs.abp.io/en/abp/latest/Samples/Microservice-Demo.

In the microservices example, the product management module is deployed separately and has its own database.

See https://dba.stackexchange.com/questions/264/guid-vs-int-which-is-better-as-a-primary-key.

ABP use sequential GUID, It is good for indexing.

Showing 6581 to 6590 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 10, 2025, 06:30