silverback
Hangfire
silverback | Hangfire | |
---|---|---|
10 | 61 | |
246 | 9,013 | |
- | 0.5% | |
7.1 | 9.4 | |
10 days ago | 11 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
silverback
-
C# Complex Web Scraper: Looking for feedback / code review?
MassTransit, SlimMessageBus, and SilverBack abstract interactions with message queueing systems. Some of what you are trying to do (I didn't read it deep enough to know exactly what you're using the queue for) would be done as a queue configuration instead (e.g. ordering, de-dupe, etc.).
-
Modern StyleCop alternative? Advice appreciated.
You can look here to have an idea of the tools and the pipeline (I also use azure devops): https://github.com/BEagle1984/silverback
-
How can I avoid IEnumerable multiple iterations? Is it bad to cast IEnumerable --> ICollection --> IEnumerable to perform validation?
I tend to declare the parameter as IReadOnlyCollection because I can safely iterate without extra allocations. I know you could just do a ToList by default but it would mean allocating a few arrays in the process, in worst case. You could be smarter and check if the IEnumerable can be casted to IReadOnlyCollection and perform a ToList only when needed, this would be the most flexible implementation. I sometimes create an extension method for this: https://github.com/BEagle1984/silverback/blob/master/src/Silverback.Core/Util/EnumerableAsCollectionExtensions.cs.
-
Should I be using .AsNoTracking() on my read only queries?
I strongly believe in CQRS and all my projects implement it (using a mediator etc. - I even built a framework myself for those stuff https://silverback-messaging.net).
-
How are you using Kafka?
Yes we do use Kafka in the company I work for. I built a library/framework on top of Confluent.Kafka for it. Check it out: https://silverback-messaging.net/ or https://github.com/BEagle1984/silverback.
-
NServiceBus vs CAP vs Brighter vs MediatR+Hangfire vs ...
Silverback! https://github.com/BEagle1984/silverback / https://silverback-messaging.net
-
Here my simple battle-/workstation
😁 Nope, not really. The code displayed is from my “hobby” project: https://github.com/BEagle1984/silverback.
-
Process to Process messaging system? (Any recommendations?)
By the way, if you are looking for a good/great library to interact with the brokers -> https://github.com/BEagle1984/silverback
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.
[0] https://www.hangfire.io/
-
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
What are some alternatives?
MassTransit - Distributed Application Framework for .NET
QuartzNet - Quartz Enterprise Scheduler .NET
Rebus - :bus: Simple and lean service bus implementation for .NET
RabbitMQ.NET - RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+
Confluent's .NET Client for Apache KafkaTM - Confluent's Apache Kafka .NET client
CAP - Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
Coravel - Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and more a breeze!
Gofer.NET - Easy C# API for Distributed Background Tasks/Jobs for .NET Core.
Kafka Client
NServiceBus - Build, version, and monitor better microservices with the most powerful service platform for .NET
FluentScheduler - Automated job scheduler with fluent interface for the .NET platform.