Activities of "liangshiwei"

Hi,

Sorry for late.

After my check you don't need to MyIdentitySessionChecker, you can try:(Add to HttpApi.Host, Blazor and authserver)

Configure<AbpClaimsPrincipalFactoryOptions>(options=>
    {
        options.IsDynamicClaimsEnabled = false;
    }
)

Hi

Sorry, there is no ASPNETCore official support at this time https://github.com/dotnet/aspnetcore/issues/55213

I'll try to find a temporary solution and let you know.

okay

Hi,

you can use a new project to reproduce the problem.

Could you share a minimal reproduceible project with me? i will check it.

shiwei.liang@volosoft.com

Hi,

You can consider this https://learn.microsoft.com/en-us/ef/core/modeling/inheritance

Hi,

ABP uses the standard ASPNETCore TwoFactor: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/2fa?view=aspnetcore-1.1

You can override the GenerateTwoFactorTokenAsync method to invalidate the previous token.

You can store it in cache and check it.

Hi,

To add a new menu to the Bottom, you have to custom the side-menu layout

You can set the HTTP Request timeout.

BWT, I don't remember uploading a very large file like this.

Hi,

you can try to create a new uow to create a user.

for example:

Guid userId;
using (var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true))
{
    var newUserName = await GetUniqueUserNameAsync(input.Name.Trim(), input.Surname.Trim());
    var user = new IdentityUser(_guidGenerator.Create(), newUserName.Trim(), input.Email, tenantId);

    var creationResult = await _identityUserManager.CreateAsync(user, input.Password.Trim());
 creationResult.CheckErrors();

    await _identityUserManager.SetEmailAsync(user, input.Email.Trim());
    await _identityUserManager.SetPhoneNumberAsync(user, input.PhoneNumber.Trim());

    user.Name = input.Name.Trim();
    user.Surname = input.Surname.Trim();

    ......
    
    userId = user.Id;
    await uow.CompleteAsync();
}

var userDetails = await _identityUserManager.GetByIdAsync(userId);
Showing 291 to 300 of 5968 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11