.NET 6 - Background Jobs with Hangfire 🔥🔥🔥

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • In this video we will be going to be discussion Background jobs with Hangfire in .NET 6 Application why do we need it and how can we implement it in our .NET 6 Web API.
    Support me on Patreon to access the source code:
    / mohamadlawand
    Create .NET 6 Web API
    • Build CRUD with .NET 6...
    .NET 6 and PostgreSQL
    • .NET 6 PostgreSQL and ...
    .NET 6 - AutoMapper & Data Transfer Objects (DTOs) 🗺
    • .NET 6 - AutoMapper & ...
    Middlewares
    • Asp.Net Core - Middleware
    Dependency Injections
    • Asp.Net Core - Depende...
    Let us connect:
    🌍 My website - mohamadlawand.com
    📸 Instagram - / mohamadlawand087
    🐦 Twitter - / moe23
    ♯ Github - github.com/moh...
    🎫 LinkedIn - / mlawand
    💥 LinkTree - linktr.ee/moha...
    Gear I use (affiliate link): amzn.to/3EbT8Jw
    Support my work:
    / mohamadlawand
    www.buymeacoff...
    Hire Me:
    transactions.s...
    WHO AM I:
    I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
    GET IN TOUCH:
    If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.
    #dotnet #hangfire #api

ความคิดเห็น • 49

  • @quochoantran6771
    @quochoantran6771 ปีที่แล้ว +6

    Could you please do a serie about logging using serilog? Thanks!

  • @CrisDevDotDot
    @CrisDevDotDot 3 หลายเดือนก่อน

    please tell me how is hangfire a better solution than going with for example azure webjobs or timed windows services, or even a simple separate thread forked from current running service. thx

  • @shubhamverma2989
    @shubhamverma2989 5 หลายเดือนก่อน

    Since hangfire has default retrial mechnisum of 10. let say after 10 retrial it failed, How to know that when using hangfire.

  • @ArjunThakur-u1m
    @ArjunThakur-u1m 10 หลายเดือนก่อน

    What if my application is deployed on Server and i am not using application on browser then this background jobs will work if we are not using application at real time?

  • @waliqadri
    @waliqadri ปีที่แล้ว

    Ya habibi do you code, while having you Huqqa on the side? Amazing video ya ibn al halal..

  • @MulzaTech
    @MulzaTech ปีที่แล้ว +1

    Great tutorial Mohamad, I'm just about to implement Hangfire at my job and this refreshment tutorial gave me exactly what I wanted. Keep up the good work!

  • @saguusilent3630
    @saguusilent3630 7 หลายเดือนก่อน

    Can we use hangfire in Azure Function App ?

  • @vadimr5847
    @vadimr5847 ปีที่แล้ว +1

    ApiControllerAttribute does validate ModelState already/ Checking ModelState in actions is dublicate this logic

  • @michaelemad8868
    @michaelemad8868 ปีที่แล้ว +2

    Great lesson,Thanks Mohamad

  • @محمدرضا-ف4خ2ص
    @محمدرضا-ف4خ2ص ปีที่แล้ว +1

    هل ليك قناة بالعربي يا هندسة ؟

  • @tempusmagia486
    @tempusmagia486 5 หลายเดือนก่อน

    Excellent, I just recommend making bigger the macos terminal because on phone it is not very visible

  • @Duelweb
    @Duelweb ปีที่แล้ว +1

    Thanks for sharing!

  • @harrisonwell1719
    @harrisonwell1719 ปีที่แล้ว

    How to have the background service runs by it self and not just after an api call, like send an email every 7 Days

  • @diegomelgar2696
    @diegomelgar2696 ปีที่แล้ว

    Really good video Mohamad, thanks for sharing your knowledge.
    I have two questions, you can answer them with Yes or No if you want.
    1. Can we setup multiple workers?
    2. Can we specify queues in order that specific workers only runs? For example, in worker 1 only jobs that are queued into the "database" queue should run and in worker 2 only jobs that are queued into the "mailing" and "default" queue should run
    Thanks again!

  • @wittttttt
    @wittttttt ปีที่แล้ว

    So If I want to just implement a task/job that runs every hour, but I don't need any exposed endpoints, I would still create WebAPI project, without endpoints but with background services? Seems kind of strange.

  • @bwzffgh7
    @bwzffgh7 ปีที่แล้ว

    How do you get the dashboard to come up so easily? I've never been able to get the hangfire dashboard to appear. /hangfire doesn't work on any of my hangfire apps. It's just a 404 error.

  • @khanh9x6
    @khanh9x6 ปีที่แล้ว

    why you don't share code in tutorial. Please share 😄😄

  • @itsrahimuddinkhan
    @itsrahimuddinkhan ปีที่แล้ว +1

    Awesome 👍

  • @adiazwise
    @adiazwise 6 หลายเดือนก่อน

    Great video Mohamad thanks, I wil implement in one of my projects,help me a lot.

  • @ayoubdkhissi
    @ayoubdkhissi ปีที่แล้ว

    Thank you Mohammed, your videos are very informative!

  • @kuysberg271
    @kuysberg271 ปีที่แล้ว

    Thank you for this video, you're a great help man.

  • @SaiKumar-gp3kb
    @SaiKumar-gp3kb ปีที่แล้ว

    Does hangfire support kerberos authentication?

  • @d-landjs
    @d-landjs ปีที่แล้ว

    Excellent Lesson Mohammed :D thanks !

  • @rgautam320
    @rgautam320 9 หลายเดือนก่อน

    Really good video.
    Thanks a lot

  • @nduluevictor6587
    @nduluevictor6587 9 หลายเดือนก่อน

    I give this video a 5 star. Thank you Mohamad

  • @ferasnawafleh6836
    @ferasnawafleh6836 ปีที่แล้ว

    great video! thanks Mohammad

  • @myWorldDiscover
    @myWorldDiscover ปีที่แล้ว

    many thanks Mohammed 🎉🎉 perfect

  • @stevemcqueen2887
    @stevemcqueen2887 ปีที่แล้ว

    Good tutorial but I didn't understand why we are using the Drivers stuff initially. Was it to do with configuring hangfire or a background jobs example to showcase hangfire?

    • @MulzaTech
      @MulzaTech ปีที่แล้ว

      I think he just added the Driver stuff to build the basic CRUD operations and have a working application, but nothing related to Hangfire really, he just used that structure to explain the concepts.

  • @abdulazizasiri2708
    @abdulazizasiri2708 7 หลายเดือนก่อน

    Thanks Mohamad great video

  • @cesarecaoduro8031
    @cesarecaoduro8031 ปีที่แล้ว

    Thanks for the video, very interesting. What if one of the tasks requires a three-legged authentication process (code grant)?

  • @shakilajayarathna383
    @shakilajayarathna383 ปีที่แล้ว

    thanks a lot for publishing these. very helpful

  • @ao6177
    @ao6177 9 หลายเดือนก่อน

    Great tutorial. Thanks

  • @97Ryuuku97
    @97Ryuuku97 ปีที่แล้ว

    very good and relevant content.

  • @abubakeralrasheed3573
    @abubakeralrasheed3573 ปีที่แล้ว

    you are 👑 , thank you

  • @samsonmureya7645
    @samsonmureya7645 ปีที่แล้ว

    Thank you so much.

  • @ahmadalasmi3398
    @ahmadalasmi3398 ปีที่แล้ว

    Thank you a lot bro .

  • @neilvermeulen5283
    @neilvermeulen5283 ปีที่แล้ว

    Thank you Mohamad.

  • @mihaimyh
    @mihaimyh ปีที่แล้ว

    Really nice channel

  • @PraveenKumar-cg2gy
    @PraveenKumar-cg2gy ปีที่แล้ว

    Good job mohamad

  • @dilshodmahamadiyev6050
    @dilshodmahamadiyev6050 ปีที่แล้ว

    Rahmat

  • @igorilyichyov6414
    @igorilyichyov6414 ปีที่แล้ว

    Great lesson. Thanks a lot!

  • @33ndee54
    @33ndee54 ปีที่แล้ว

    👍👍

  • @33ndee54
    @33ndee54 ปีที่แล้ว

    Thanks!

    • @MohamadLawand
      @MohamadLawand  7 หลายเดือนก่อน

      Thank you for your support

  • @JohnMotamed
    @JohnMotamed ปีที่แล้ว

    Thanks!