π BlazorWJb: Integrating Worker Jobs with Blazor Server
This article demonstrates how to integrate https://github.com/UkrGuru/WJb (Worker Jobs) with a Blazor Server application. The sample provides a simple UI for managing actions and viewing logs in real time.
β Why WJb?
WJb is a lightweight job scheduling and processing library for .NET. It allows you to:
- Schedule jobs using CRON expressions
- Execute custom actions asynchronously
- Log execution details for monitoring and debugging
π Features in the BlazorWJb Sample
Logs Page
Displays job execution logs with:
- Date filter
- Level and Category dropdowns
- Text search
- Refresh button
Actions Page
Manage actions easily:
- Add, edit, and delete actions
- Save actions to
wjb\actions.json - Edit JSON parameters for each action
βοΈ Configuration
- Actions are stored in
wjb\actions.json - Logs are displayed from
Logs\yyyyMMdd.logfiles
π¨ How It Works
- JobScheduler runs background jobs based on CRON expressions
- JobProcessor executes actions defined in the Actions page
- Logs are automatically updated after each job execution
β Getting Started
-
Clone the sample:
git clone https://github.com/UkrGuru/WJb.Samples.git cd src/BlazorWJb -
Install dependencies:
dotnet restore -
Run the app:
dotnet run
π Advanced Tips
- Add custom job types by implementing
IAction - Deploy as a background service for production workloads
π Resources
π‘ Why Blazor + WJb?
Combining Blazorβs real-time UI with WJbβs job scheduling gives you a powerful dashboard for automation and monitoring.


Top comments (0)