Activities of "liangshiwei"

You can try this:

context.Services.ConfigureApplicationCookie(options =>
{
    options.Events.OnSignedIn = async signedContext =>
    {
        var userId= signedContext.Principal.Identity.FindUserId();
    };
});
Answer

Hi,

This ABP suite does not support the specified version to create a project.

But you can using ABP CLI, fro example: abp new MyprojectName -u angular -v 7.4.3 --separate-auth-server

Hi,

Sorry, I didn't receive the email. my email is shiwei.liang@volosoft.com

Will this can help for you? https://support.abp.io/QA/Questions/6383#answer-3a0f9c51-4061-c15b-3343-1258a319af48

Answer

Hi,

We will fix it in the next patch version, your ticket has been refunded.

Answer

Hi,

Will this work for you(Add to MVC project)?

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IRemoteServiceConfigurationProvider))]
public class MyRemoteServiceConfigurationProvider : IRemoteServiceConfigurationProvider
{
    protected AbpRemoteServiceOptions Options { get; }
    protected IAppUrlProvider AppUrlProvider { get; }

    public MyRemoteServiceConfigurationProvider(
        IOptionsMonitor<AbpRemoteServiceOptions> options, 
        IAppUrlProvider appUrlProvider)
    {
        AppUrlProvider = appUrlProvider;
        Options = options.CurrentValue;
    }

    public async Task<RemoteServiceConfiguration> GetConfigurationOrDefaultAsync(string name)
    {
        var configuration = Options.RemoteServices.GetConfigurationOrDefault(name);
        configuration.BaseUrl = await AppUrlProvider.NormalizeUrlAsync(configuration.BaseUrl);
        return configuration;
    }

    public async Task<RemoteServiceConfiguration?> GetConfigurationOrDefaultOrNullAsync(string name)
    {
        var configuration = Options.RemoteServices.GetConfigurationOrDefaultOrNull(name);
        if (configuration != null)
        {
            configuration.BaseUrl = await AppUrlProvider.NormalizeUrlAsync(configuration.BaseUrl);
        }
        
        return configuration;
    }
}
Answer

Hi,

This may be a problem

May I ask which version are you using?

: )

On the login page we see it trying to get the CSS from a different location to the dashboard screen and the layout is also pointing to the side-menu and not the top-menu

There are no menu items on the login page, so the default load is from side-menu.

Hi,

Because the Blazor server account(login, register, manage...etc) pages using MVC UI

You also need to customize the MVC UI theme

red.css and bootstrap-red.css have to be added under wwwroot/Themes/LeptonX/Global/side-menu/css/ folder for switching to your custom theme properly when selected. If your layout is TopMenu, then you have to add them under the wwwroot/Themes/LeptonX/Global/top-menu/css/ folder.

https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#customization

Showing 2701 to 2710 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, 12:19