Activities of "roberto.fiocchi"

Ok, and for my second question?

I did it, but it's not clear to me why it's needed since the jobs are not initialized and the worker I made to delete the logs is similar to ExpiredAuditLogDeleterWorker so it shouldn't depend on the presence or absence of HangFire. Can you explain it to me?

Finally, I always see this call in the logs. I thought it was related to the ABP workers, but it doesn't seem to be the case since they should all be down now. Can you tell me what's causing it?

2025-08-12T10:22:32.9921082+02:00 [INF] -
(Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand ("4"ms) [Parameters=["@__p_0='0', @__p_1='1'"], CommandType='Text', CommandTimeout='30']"\r\n""SELECT [a].[Id], [a].[ConcurrencyStamp], [a].[EntityVersion], [a].[ExtraProperties], [a].[IsDefault], [a].[IsPublic], [a].[IsStatic], [a].[Name], [a].[NormalizedName], [a].[TenantId]\r\nFROM [AbpRoles] AS [a]\r\nWHERE [a].[TenantId] IS NULL\r\nORDER BY [a].[Id]\r\nOFFSET @__p_0 ROWS FETCH NEXT @__p_1 ROWS ONLY"
2025-08-12T10:22:32.9936939+02:00 [INF] -
(Microsoft.EntityFrameworkCore.Update)
Saved 2 entities to in-memory store.
2025-08-12T10:22:42.9977294+02:00 [INF] -
(Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand ("4"ms) [Parameters=["@__p_0='0', @__p_1='1'"], CommandType='Text', CommandTimeout='30']"\r\n""SELECT [a].[Id], [a].[ConcurrencyStamp], [a].[EntityVersion], [a].[ExtraProperties], [a].[IsDefault], [a].[IsPublic], [a].[IsStatic], [a].[Name], [a].[NormalizedName], [a].[TenantId]\r\nFROM [AbpRoles] AS [a]\r\nWHERE [a].[TenantId] IS NULL\r\nORDER BY [a].[Id]\r\nOFFSET @__p_0 ROWS FETCH NEXT @__p_1 ROWS ONLY"
2025-08-12T10:22:42.9995277+02:00 [INF] -
(Microsoft.EntityFrameworkCore.Update)
Saved 2 entities to in-memory store.

Thanks

I tried, but when I disable it from appsettings I get this error:

Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnPreApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.BackgroundWorkers.Hangfire.AbpBackgroundWorkersHangfireModule, Volo.Abp.BackgroundWorkers.Hangfire, Version=8.3.2.0, Culture=neutral, PublicKeyToken=null: An exception was thrown while activating ?:Volo.Abp.Hangfire.AbpHangfireBackgroundJobServer -> ?:Hangfire.JobStorage.. See the inner exception for details. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while activating ?:Volo.Abp.Hangfire.AbpHangfireBackgroundJobServer -> ?:Hangfire.JobStorage. ---> System.InvalidOperationException: Current JobStorage instance has not been initialized yet. You must set it before using Hangfire Client or Server API. For .NET Core applications please call the IServiceCollection.AddHangfire extension method from Hangfire.NetCore or Hangfire.AspNetCore package depending on your application type when configuring the services and ensure service-based APIs are used instead of static ones, like IBackgroundJobClient instead of BackgroundJob and IRecurringJobManager instead of RecurringJob. at Hangfire.JobStorage.get_Current() in C:\projects\hangfire-525\src\Hangfire.Core\JobStorage.cs:line 42

Hi @maliming, sorry to ask, but can you explain what these options do? I'm always interested in understanding ABP services, since I don't use many of them, and I'd also like to find a way to disable anything I don't need to improve debugging and development.

Thanks

Sorry, I don't have time to test the proposed solution yet. Could you check if it works in the project already shared? If not, I'll do it tomorrow. In the meantime, I'll keep the ticket open.

Thanks

Ok, thanks anyway for your support

I looked at the PR and it seems to work. I'm still having issues with hot reloading, but I think it's due to factors outside of the ABP.

Do you have any suggestions on how to make debugging more efficient?

Thanks

I will try, however my first problem is that I can't use the application settings to register Hangfire or not.

Thanks

I created the private GitHub repository and sent you the invitation.

Thanks

Yes, for this ticket.

Thanks.

Showing 11 to 20 of 188 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 October 30, 2025, 06:33