DEV Community

Oleksandr Viktor
Oleksandr Viktor

Posted on

⚡ WJb QuickStart

⚡ WJb QuickStart

This is the fastest way to understand how WJb works.


🧠 What you will see


SendEmail → Log → Done

Enter fullscreen mode Exit fullscreen mode

A simple job flow where:

  • one job runs
  • then explicitly enqueues the next
  • and completes

👉 no hidden behavior


🚀 Run

dotnet run
Enter fullscreen mode Exit fullscreen mode

✅ Output

=== WJb QuickStart ===

Flow:
SendEmail → Log → Done

[App] Enqueue: SendEmail
[App] Start execution...

[Action] SendEmail → user@test.com
[Action] Log → Email sent to user@test.com

=== Done ===
All steps were explicitly defined.

Enter fullscreen mode Exit fullscreen mode

💡 What this demonstrates

  • Actions contain business logic
  • Each action explicitly defines next step
  • Execution is deterministic and visible

👉 You always know what happens and why


🔥 Key idea

return ActionResults.Next(
    JobCommands.Next<LogAction>(...)
);
Enter fullscreen mode Exit fullscreen mode

👉 The workflow is defined in code, not hidden in the framework.


⚡ Learn more

➡️ https://www.nuget.org/packages/WJb

➡️ https://github.com/UkrGuru/WJb.Demo


🎁 Support WJb

If you like this idea:

👉 https://ko-fi.com/ukrguru

Early supporters (before August 1, 2026):

👉 🎁 FREE Solo License

Top comments (0)