Β© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Sam Walpole
π¨βπ» Fullstack .NET and JavaScript teacher and advocate π¨βπ»
Hangfire is a .NET library that makes it really easy to adding background tasks to your .NET app. It supports one-off "fire and forget" tasks, as well as scheduling recurring tasks. On top of that it supports persistence, so all of your tasks will co...
Thiago Loureiro
Architect :)
Hi! nice article! Just one note, there's a "typo" in your code
Should be UseMemoryStorage, correct?
services.AddHangfire(c => c.UserMemoryStorage());
Ah yes, thanks for letting me know. I'll update it now :)
Pavel Biryukov
Nice library! Can I schedule a task to run one time after 15 minutes? Run reccuring and then cancel it after first run?
Hey, If you want to run once after a delay, there is a method for that. I haven't tried it myself, but this documentation might be useful for you :)
docs.hangfire.io/en/latest/background-methods/calβ¦
Thiago Loureiro
Architect :)
Hi! nice article! Just one note, there's a "typo" in your code
Should be UseMemoryStorage, correct?
services.AddHangfire(c => c.UserMemoryStorage());