Activities of "liangshiwei"

Hi,

  • BackgroundJobWorker is a built-in worker in ABP that is used for BackgroundJob system.
  • TokenCleanupBackgroundWorkers is a built-in worker in ABP that is used to clean the old tokens.

OK. Angualr Team will help you.

System.ArgumentNullException: Value cannot be null. (Parameter 'serviceType') at System.ThrowHelper.Throw(String paramName) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)

It seems that you don't have the correct configuration of the Outbox/Inbox.

Configure<AbpDistributedEventBusOptions>(options =>
{
    options.Inboxes.Configure(config =>
    {
        config.UseDbContext<YourDbContext>();
    });
});

Configure<AbpDistributedEventBusOptions>(options =>
{
    options.Outboxes.Configure(config =>
    {
        config.UseDbContext<YourDbContext>();
    });
});

https://docs.abp.io/en/abp/latest/Distributed-Event-Bus#enabling-event-inbox

Hi

First, you need to make sure that all ABP package versions are the same.

Then run dotnet clean & dotnet build command.

BTW, ABP7.0 is based on NET 7.0, you should update the microsoft.extensions.hosting package to version 7.0.1

Do you have Nuget.Config in the source code used in your build server ? Your NuGet.Config file must include abp.io nuget source specific to your account. It should be something like this;

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
	<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
        <!-- {ABP_COMMERCIAL_NUGET_SOURCE} -->
    </packageSources>
</configuration>

Hi,

You can configure in-memory storage for Hangfire in the .TestBase project https://www.nuget.org/packages/Hangfire.InMemory

context.Services.AddHangfire(config =>
{
  config.UseInMemoryStorage();
});

however the issue with the menu options not loading correctly is still happening. Do you have a fix for that?

Could you share some screenshots?

Hi,

Yes, it is, That's what it does in the microservice template.

https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication#configuring-auto-discovery-endpoint

Hi,

The Background Job means that it has nothing to do with the current request. It is another separate thread.

If you want to use the token of the current user, then you should not call remote services in the background job.

Hi,

ABP Angular UI does not support configuring multiple suffixes,

But ABP provides EnvironmentService, and you can use it to modify the domain name suffix of the API. https://docs.abp.io/en/abp/latest/UI/Angular/Environment#environmentservice

I'm not an Angular expert, so I can't provide the exact code.

If you need the help of the Angular team, you can create a new question, and I will assign it to the Angular team.

Showing 3461 to 3470 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 16, 2025, 10:35