Activities of "liangshiwei"

The filter will work on global. you don't need add attribute to method.

You need add the Volo.Saas.Host.Application to your project and add SaasHostApplicationModule to your module dependencies

  1. Delete the following reference in .web project.
<ProjectReference Include="..\..\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Volo.Abp.Account.Pro.Public.Web.csproj" />
<ProjectReference Include="..\..\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.IdentityServer\Volo.Abp.Account.Pro.Public.Web.IdentityServer.csproj" />
  1. Update SampleAppMenuContributor class
public async Task ConfigureMenuAsync(MenuConfigurationContext context)
{
    if (context.Menu.Name == StandardMenus.Main)
    {
        //await ConfigureMainMenu(context);

        var moduleMenu = AddModuleMenuItem(context);
        await AddMenuItemTblTests(context, moduleMenu);
    }
}
  1. This is not a problem, this is by design.

Hi,

Question 1: Could you share the project to me? shiwei.liang@volosoft.com

Question 2: Please show the menu contributors code of the module

Question 3: This is not a problem, settings need to navigate to the authorization server

Hi,

First , create a filter:

public class MyJobFilterAttribute : JobFilterAttribute, IElectStateFilter
{
    public void OnStateElection(ElectStateContext context)
    {
        if (context.CandidateState is EnqueuedState enqueuedState)
        {
            enqueuedState.Queue = "myqueue";
        }
    }
}

Add the following configuration to your module:

Configure<AbpHangfireOptions>(options =>
{
    options.ServerOptions = new BackgroundJobServerOptions()
    {
        Queues = new[] {"default", "myqueue"}
    };
});


context.Services.AddHangfire(options =>
{
    //options.UseMemoryStorage();
    options.UseFilter(new MyJobFilterAttribute());
});

Now, your all job will enqueue to the myqueue queue and you can custom if you need.

Hi,

You need use https and update the appsettings files to update ip address.

Hi,

Can you explain in detail?

Answer

Hi @Leaf

Please create a new question to discuss. thanks.

Hi,

You can see the Themes in the .Web project.

You just need to create a Default.cshtml file in Account folder.

You need to put the localization middleware before UseAuthorization

Showing 6321 to 6330 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 November 07, 2025, 08:20