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 8061 to 8070 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.