Hangfire
QuartzNet
Our great sponsors
Hangfire | QuartzNet | |
---|---|---|
61 | 30 | |
8,994 | 6,212 | |
1.2% | 1.4% | |
9.4 | 8.4 | |
3 days ago | 13 days ago | |
C# | C# | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hangfire
-
Deno Cron
Unpopular opinion incoming... What I see is yet another way that the backend JS world is finally achieving something .NET had years ago[0].
Node/Deno/Bun/etc. + npm sounds super straightforward at first glance (and it is at first). But I've thought for years that it's far easier to be productive as an organization on .NET in Visual Studio, since it's simpler to design, deliver, and maintain infrastructure.
-
Boosting Productivity with HangFire: Streamlining Background Job Processing
you can read about it here HangFire Documentation
-
How do you save a file at the end of the day within a function that is only called at certain times?
I mostly work in .NET, and typically use Hangfire, but all languages has similar frameworks
-
What can I use as a simple message bus with persistence in .NET?
Its hard to tell what tool would be a best fit without more information, but I would suggest looking at Hangfire for background job processing: https://www.hangfire.io/
-
Event Bus + Job APIs
You might want to look at https://www.hangfire.io/. Their docs explain how to set up queues: https://docs.hangfire.io/en/latest/background-processing/configuring-queues.html
-
Background Job Scheduling in .NET using Hangfire
In this article we looked at how to use Hangfire to schedule background jobs in ASP.NET according to our requirements. In a follow up article, I will talk about using Hangfire with a Redis storage. To learn more about Hangfire, you can visit the official website.
-
BackgroundService in .Net Core
Easy to understand if you want to implement your own background service. If you want a more easy and complete tool you can use hangfire.
-
Is there anything like this in C#?
Try https://www.hangfire.io/
-
Help in creating a new Service
If, as you stated, you really need to use your own servers, that seems exactly like a job for Hangfire.
- Background processing in .NET MAUI app
QuartzNet
-
I open-sourced a lib for Message Queueing /w MongoDB - wise idea?
I would agree with using Job over Queue. Therefore I would recommend looking at Quartz.Net https://www.quartz-scheduler.net/
-
Sending recurring reminders through text message at user-defined times.
You can use something like https://www.quartz-scheduler.net/ to create multiple recurring jobs based on the definition you load from a DB.
-
Suggestions to scale this existing process
Or use an existing open source scheduling solution like https://www.quartz-scheduler.net/
- Hangfire - Schedule Background Jobs in ASP.NET Core
-
.NET Timer
If you're interested in using Quartz, you can check out their GitHub repo here: https://github.com/quartznet/quartznet. They also have extensive documentation available on their website: https://www.quartz-scheduler.net/documentation/index.html.
- How to do Recurring weekly events with timezones?
-
async await is doing problems in the background jobs(console scheduler app)
You should use an actual scheduler. https://www.quartz-scheduler.net/
- Is this the best way to have a thread manager?
- Scheduled job in dot ent
-
Will background threads be forced to exit in finally blocks once all main threads have exited
Better to use a framework like Quartz.NET for scheduling background tasks. How it works inside the box I have no idea, but I have used it extensively in my web applications, and those background tasks run 24/7, come hell or high water. It's a good library, and it's easy to use.
What are some alternatives?
RabbitMQ.NET - RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+
FluentScheduler - Automated job scheduler with fluent interface for the .NET platform.
MassTransit - Distributed Application Framework for .NET
Coravel - Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and more a breeze!
Cronos - A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
Kafka Client
Workflow Core - Lightweight workflow engine for .NET Standard
NCrontab - Crontab for .NET
NServiceBus - Build, version, and monitor better microservices with the most powerful service platform for .NET
DurableTask - Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.