🚀 BlazorWJb: Integrating Worker Jobs with Blazor Server App

Published: (January 15, 2026 at 01:03 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Overview

This article demonstrates how to integrate UkrGuru/WJb (Worker Jobs) with a Blazor Server application. The sample provides a simple UI for managing actions and viewing logs in real time.

UkrGuru.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

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

Additional details:

  • Logs are displayed from Log\yyyyMMdd.log files
  • 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 repository
git clone https://github.com/UkrGuru/WJb.Samples.git
cd src/BlazorWJb

# Install dependencies
dotnet restore

# Run the app
dotnet run

Extending the Sample

  • Add custom job types by implementing IJobAction
  • Integrate with UkrGuru.Sql for database‑driven actions
  • Deploy as a background service for production workloads

Sample Repository

  • Source code:
  • Main project:

Why Blazor + WJb?

Combining Blazor’s real‑time UI with WJb’s job scheduling gives you a powerful dashboard for automation and monitoring.

Back to Blog

Related posts

Read more »

More dynamic cronjobs

Article URL: https://george.mand.is/2025/09/more-dynamic-cronjobs/ Comments URL: https://news.ycombinator.com/item?id=46399576 Points: 41 Comments: 7...