Activities of "maliming"

hi

The project you shared is not a complete solution. Can you create a new template project and reproduce it?

Can you share the project? liming.ma@volosoft.com

hi

Please try to remove ClaimTypes and IdentityLinkUser from FlamingaTenantDbContext

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L160

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L254

Can you share a project to reproduce the problem?
liming.ma@volosoft.com

This generated an error page indicating the site can't be reached. What else am I missing? I get the error that a connection was made but was forcibly closed by the remote host.

Can you share the error stack? Thanks

hi

The problem is [ReplaceDbContext( typeof( IIdentityDbContext ) )]

Can you explain why you do this?

hi

That is to say, there is no error in using IAbpDistributedLock manually, but there is an error in the background worker.

it's weird

hi

Can you try that?

var registerDto = new RegisterDto
{
    AppName = "MVC",
    EmailAddress = Input.EmailAddress,
    Password = Input.Password,
    UserName = Input.UserName,
    ReturnUrl = ReturnUrl,
    ReturnUrlHash = ReturnUrlHash,
    CaptchaResponse = captchaResponse
}
registerDto.SetProperty("EmployeeNo", Input.EmployeeNo).SetProperty("CivilId", Input.CivilId);

var userDto = await AccountAppService.RegisterAsync(registerDto);

hi

Are you a tiered project or a monolithic project?

AppService should not be called in scenarios such as background jobs. You can consider calling domain services.

hi

Override the HandleClientCredentialsAsync method.

https://github.com/abpframework/abp/blob/f39082e98d0ce73e2ad3f06f4cc9c24c253cfeee/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/TokenController.ClientCredentials.cs#L15

Showing 7151 to 7160 of 10625 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