Activities of "liangshiwei"

Hi

The namespace is Pages.Abp.MultiTenancy.TenantSwitchModalModel

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy/Pages/Abp/MultiTenancy/TenantSwitchModal.cshtml.cs

Hi,

you can try writing logs to check what happened.

public class UserManagementService : ITransientDependency
{
    protected IdentityUserManager _userManager { get; }
    private readonly IIdentityRoleRepository RoleRepository;
    private readonly IIdentityUserRepository _xSenseIdentityUserRepository;
    private readonly ILogger<UserManagementService> _logger;

    protected UserDirectoryManager _userDirectoryManager { get; }

    protected IOptions<IdentityOptions> IdentityOptions { get; }
    public UserManagementService(IdentityUserManager userManager, IIdentityRoleRepository roleRepository, UserDirectoryManager userDirectoryManager,
        IIdentityUserRepository xSenseIdentityUserRepository,ILogger<UserManagementService> logger)
    {
        _userDirectoryManager = userDirectoryManager;
        _userManager = userManager;
        RoleRepository = roleRepository;
        _xSenseIdentityUserRepository = xSenseIdentityUserRepository;
        _logger = logger;
    }
    
    ......
    
    _logger.LogInformation("Create user...");
    

Your ticket was refunded.

Hi,

we will fix the problem in the next patch version.

you can try override the page

Pages/Chat/Components/MessagesToolbarItem/Default.cshtml

@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Chat.Localization

@inject IHtmlLocalizer<ChatResource> L

<a href="/Chat" class="lpx-menu-item-link nav-link lpx-menu-item-link nav-link b-tooltip b-tooltip-left w-100 b-tooltip-inline d-flex align-items-center justify-content-center" type="button" data-bs-toggle="tooltip" data-bs-placement="left" aria-label="@L["Menu:Chat"].Value" data-bs-original-title="@L["Menu:Chat"].Value">
    <span class="lpx-menu-item-icon">
        <i class="lpx-icon fas fa-comments" aria-hidden="true"></i>
    </span>
</a>

Hi

you can override the TenantSwitchModal page https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy/Pages/Abp/MultiTenancy/TenantSwitchModal.cshtml

Hi,

Suite doesn't support this , we may consider support it in the next version

You can try this

Configure<AbpTenantResolveOptions>(options =>
{
   options.TenantResolvers.Insert(0, new CustomDomainTenantResolveContributor("{0}"));
});
ublic class CustomDomainTenantResolveContributor : DomainTenantResolveContributor
{
    public CustomDomainTenantResolveContributor(string domainFormat)
        : base(domainFormat)
    {
    }

    protected override async Task<string?> GetTenantIdOrNameFromHttpContextOrNullAsync(ITenantResolveContext context, HttpContext httpContext)
    {
        if (!httpContext.Request.Host.HasValue)
        {
            return null;
        }

        var domain = httpContext.Request.Host.Host;

        var timcheAppService = httpContext.RequestServices.GetRequiredService<ITimcheAppService>();
        // Query the service for tenant information
        var tenantName = await timcheAppService.FindTenantNameByDomainAsync(domain);
        if (tenantName == null)
        {
            return null; // No tenant resolved
        }

        context.Handled = true;
        return tenantName; // Return tenant name for ABP to resolve
    }
}
Answer

Hi,

Please give me the permission to access file.

Answer

Him

OpenIddict is unavailable in Live Demo, you can create a new project to check it.

Hi,

Can you share the package.json content?

Showing 491 to 500 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 12, 2025, 10:20