Learn More, Pay Less!
Limited Time Offer!

Activities of "liangshiwei"

Hi,

okay : )

Hi,

They are the features of Account pro module.

  • Reset password
  • Confirm email address
  • Email security code

For instance, should the new user get a "confirm email" on created if we dont check the "Email confirmed" box?

When you create a new user, you can choose send confirm email or not.

Hi,

can you tell me if i have AsyncBackgroundWorkers, Is abp use HangfirePeriodicBackgroundWorkerAdapter to execute them?

Yes, it will. See https://abp.io/docs/latest/framework/infrastructure/background-workers/hangfire

The AbpBackgroundJobsModule implemented BackgroundJobWorker.

in my httpapi.host project. This fixed the problem however i didn't understand which module is implementing the DefaultBgJob implementation. Can you give me a hint about it probably it is efcoremodule since it should be the infra project. And why AbpBackgroundJobsHangfireModule didn't override it i didn't understand. But now it works in this order.

They are different implementations. After installing the Hangfire provider, you need to remove other implementations.

The second thing i want to ask is about HangfirePeriodicBackgroundWorkerAdapter<BackgroundJobWorker>.DoWorkAsync why is this work triggered every 5 secs? I believe that's the default value. How can that value be changed? Also is this worker are dispatching BackgroundJobs? What is the purpose of this worker can you elaborate? Is it possible to disable it and delete it?

Please remove AbpBackgroundJobsModule and delete the job in the hangfire dashboard.

I believe it still uses default fifo implementation cause i can see that it hits background job. But sometimes it hangs and never fire the background job, could be because of the distributed lock i suppose. What am i missing over here. Can you point me to the right direction?

Can you provide the full steps or a simple project to reproduce the problem? I will check it.

Hi,

so when i run the project everythings works fine. But the weird part is i don't see any background jobs enqueued in my hangfire dashboard with parameters.

Try using the UseAbpHangfireDashboard method and BackgroundJobNameAttribute to define job names.

[BackgroundJobName("MyJobName")]
public class EmailSendingJob
    : AsyncBackgroundJob<EmailSendingArgs>, ITransientDependency
{
    private readonly IEmailSender _emailSender;

    public EmailSendingJob(IEmailSender emailSender)
    {
        _emailSender = emailSender;
    }

    public override async Task ExecuteAsync(EmailSendingArgs args)
    {
        await _emailSender.SendAsync(
            args.EmailAddress,
            args.Subject,
            args.Body
        );
    }
}

You can check this https://codejack.com/2022/12/deploying-abp-io-to-an-azure-appservice/

HI,

I can't reproduce the problem.

My steps:

  • Create a new project with Blazor server UI
  • Install Volo.Abp.MailKit to the Domain project and add typeof(AbpMailKitModule)
  • Remove context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
  • Add the correct email settings
  • Forget password

Hi,

Install Mailkit in the Domain module (Since we get a warning if we try to send a test email without it)

Did you receive the test email?

Hi,

You can just create a project with angular UI, and delete the modules from the package.json and code.

Showing 1 to 10 of 6574 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on February 13, 2025, 10:35