Activities of "liangshiwei"

Hi,

1 - How we can implement a hangfire server in an isolated Abp app and run this app on multiple instances?

Hangfire natively supports multi-instance servers, you only need to deploy multiple application instances.

2- How it can handle and access the tenant databases?

Example:

var tenants = await _tenantRepository.GetListAsync();

foreach(var tenant in tenants)
{
   using(CurrentTenant.Change(tenant.Id))
   {
       //handle and access the tenant databases...
   }
} 

Hi,

1/ dntcaptcha not working on the existing Abp Project

Can you share the error logs?

2/ Unable to find package Volo.Abp.EntityFrameworkCore.Oracle with version (>=5.0.0)

See https://github.com/abpframework/abp/issues/10957, we will publish the Nuget Package soon.

Hi,

Can you try using IRemoteStreamContent.

public void Save(IList<IRemoteStreamContent> uploadFiles)
{
   .....
}

Hi,

We plan to introduce dynamic claims to solve the problem, see https://github.com/abpframework/abp/pull/8676

For now, you can refer this: https://support.abp.io/QA/Questions/2090/How-to-clear-cache-for-features

Hi,

Please double-check the URL in the source project environment and make sure your application is up and running.

See https://docs.abp.io/en/abp/3.1/CLI#generate-proxy

Generates Angular service proxies for your HTTP APIs to make easy to consume your services from the client side. Your host (server) application must be up and running before running this command.

Hi,

You can try to integration external login without ABP application, if what works you can share the project with us, we can help you implement it in the ABP application.

Hi,

Can you share a project to reproduce? shiwei.liang@volosoft.com thanks.

Hi,

Can you try testing external login with IdentityServer and check the logs?

Hi,

The ABP CLI v4.4 is based on .NET 5.0, you can try to upgrade ABP CLI to 5.0.0

Hi,

Can you try testing with the following code? it works for me.


public class IndexModel : MyProjectNamePageModel
{
    private readonly ICurrentPrincipalAccessor _currentPrincipalAccessor;

    private readonly SignInManager<IdentityUser> _signInManager;

    private readonly IIdentityUserRepository _userRepository;

    public IndexModel(
        ICurrentPrincipalAccessor currentPrincipalAccessor,
        SignInManager<IdentityUser> signInManager,
        IIdentityUserRepository userRepository)
    {
        _currentPrincipalAccessor = currentPrincipalAccessor;
        _signInManager = signInManager;
        _userRepository = userRepository;
    }

    public async Task OnGetAsync(bool setShowedWelcomePopup)
    {
        if (CurrentUser.IsAuthenticated)
        {
            var user = await _userRepository.FindAsync(CurrentUser.GetId());

            if (setShowedWelcomePopup)
            {
                await _signInManager.SignOutAsync();
                await _signInManager.SignInAsync(user, true);
            }
        }
    }
}

public class JureezClaimsPrincipalContributor : IAbpClaimsPrincipalContributor, ITransientDependency
{
    public async Task ContributeAsync(AbpClaimsPrincipalContributorContext context)
    {
        var currentTenant = context.ServiceProvider.GetRequiredService<ICurrentTenant>();

        context.ClaimsPrincipal.Identities.First().AddClaim(new Claim("WelcomePopupShowedClaimName", currentTenant.Id != null ? "false" : "true"));
    }
}
Showing 5381 to 5390 of 6693 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.