Activities of "liangshiwei"

Hi Could you share a simple project to reproduce the problem? thanks

Hi,

Can I check it remotely? shiwei.liang@volosoft.com. please email me.

HI,

Can I check it remotely? shiwei.liang@volosoft.com

You can deploy API as a sub appliation.

See https://devblogs.microsoft.com/aspnet/part-1-of-3-creating-sub-projects-in-iis-with-web-application-projects/

@suraj.kumbhar

Could you open a new question? thanks.

Can I check it remotely? shiwei.liang@volosoft.com

Hi,

What version are you using?

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no

Hi,

I find the problem, see : https://github.com/abpframework/abp/pull/7814/files

For now , you need to :

public class MyAbpSecurityStampValidator : AbpSecurityStampValidator
{
    protected ITenantConfigurationProvider TenantConfigurationProvider { get; }
    protected ICurrentTenant CurrentTenant { get; }

    public MyAbpSecurityStampValidator(
        IOptions<SecurityStampValidatorOptions> options,
        SignInManager<IdentityUser> signInManager,
        ISystemClock systemClock,
        ILoggerFactory loggerFactory,
        ITenantConfigurationProvider tenantConfigurationProvider,
        ICurrentTenant currentTenant) : base(options, signInManager, systemClock, loggerFactory)
    {
        TenantConfigurationProvider = tenantConfigurationProvider;
        CurrentTenant = currentTenant;
    }

    [UnitOfWork]
    public override async Task ValidateAsync(CookieValidatePrincipalContext context)
    {
        var tenant = await TenantConfigurationProvider.GetAsync(saveResolveResult: false);
        using (CurrentTenant.Change(tenant?.Id, tenant?.Name))
        {
            await base.ValidateAsync(context);
        }
    }
}

context.Services.AddScoped<MyAbpSecurityStampValidator>();
context.Services.AddScoped(typeof(SecurityStampValidator<IdentityUser>), provider => provider.GetService(typeof(MyAbpSecurityStampValidator)));
context.Services.AddScoped(typeof(ISecurityStampValidator), provider => provider.GetService(typeof(MyAbpSecurityStampValidator)));

Hi,

I use the project you provided and it works for me.

I have send the proejct zip file to your email, you can check it.

Can I check it remotely? shiwei.liang@volosoft.com

Showing 5941 to 5950 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 15, 2025, 14:41