DEV Community

Cover image for Most .NET background job systems are wrong.
Oleksandr Viktor
Oleksandr Viktor

Posted on • Edited on

Most .NET background job systems are wrong.

Most .NET background job systems are wrong.

They look simple:

BackgroundJob.Enqueue(() => DoWork());

But what actually happens?

Job → retry → pipeline → continuation → retry → ???

At some point:

❌ you don’t know why it ran
❌ you don’t know what triggered the next step
❌ you can’t explain the execution flow

This becomes a problem when background jobs contain business logic.


So I built WJb.

Not a framework.

An explicit job execution engine.

Where everything looks like this:

Job → Action → ActionResult → Next Job

And every workflow step is defined in code:

return ActionResults.Next(
new JobCommand(
LogAction.Key,
new LogInput
{
Message = "Done"
}));

No magic.
No hidden pipelines.
No implicit orchestration.


You always know:

✅ why a job runs
✅ what happens next
✅ how the flow evolves


Try it in 30 seconds:

👉 https://github.com/UkrGuru/WJb.Demo/tree/main/quickstart

NuGet:

👉 https://www.nuget.org/packages?q=WJb


If this idea resonates, I'd love your feedback.

Top comments (0)