Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Hangfire Userd In ABP #473


User avatar
0
loveindeep created

I had used Hangfire in ABP,and it will startup in applicaion,but when use call ApplicationService,it will be AbpAuthorized,SO,the System can't be excuse the hangfire job method


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi, You want to start Hangfire? If so, add the starting code to PostInitialize method (<a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Module-System">http://www.aspnetboilerplate.com/Pages/ ... ule-System</a>) of your web module.

  • User Avatar
    0
    john_kattenhorn created

    We've been using Hangfire with ABP for a while now and it took a while to figure out the Castle Windsor issues but it works fine now.

    We use it as a WebJob in Azure as we didn't want to affect the performance of App whilst the jobs was running.

    Let me know if you want us to share some code and I'll see what I can do.