Activities of "liangshiwei"

Hi,

You can try use the Replace packages with source code feature.

I found an issue when user does first login with external login provider, the security log has logged one record with Action = 'LoginFailed' even I had logged in successfully.

This is expected because of the need to full the email address

Another question, after I completed the registration for new user, the new user has been inserted into AbpUsers table but the flag IsExternal = 0, it should be 1, right?

See https://github.com/abpframework/abp/pull/8983

Hi,

https://docs.abp.io/en/abp/latest/Data-Filtering, just work for a single database.

If a tenant has own database, you need to query all tenants, and then switch each tenant.

example:


var tenants = await _tenantRepository.GetListAsync();

foreach(var tenant in tenants)
{
    using(CurrentTenant.Change(tenant.Id))
    {
        var books = await _bookRepository.GetListAsync();
    }
}

Hi,

You can refer the tenant module: https://github.com/abpframework/abp/blob/dev/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs#L59

Hi,

What version and distributed event bus provider are you using?

Hi,

Sorry, there is no good way to do this, you must wait for the blazor app loading. this is a limitation of blazor.

Maybe you can try put the static resources(dll, js etc..) to CDN: https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/startup?view=aspnetcore-5.0#load-boot-resources.

@Leonardo.Willrich

See https://support.abp.io/QA/Questions/1152/How-to-to-Login-page-when-accessing-the-app-and-after-logout#answer-d2e834e0-4600-d3d0-eb47-39fbdb7edfc7

Hi,

ASP.NET Core use current culture to handle datetime format. abp also.

For front-end, we integrated luxon to convert datetime to current culture format. see :https://github.com/abpframework/abp/pull/5147

For back-end: you can try to use ITimezoneProvider to handle the time zone base on time zone settings. https://docs.abp.io/en/abp/latest/Timing#itimezoneprovider

I think you can create a middleware to change the current culture .

Answer

Hi,

Please open a new question to discussion, thanks.

Showing 5541 to 5550 of 6440 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 15, 2025, 05:31