EverTask Documentation
EverTask is a .NET background task execution library built for persistence and resilience. If you need to process work in the background, handle scheduled jobs, or build fault-tolerant task pipelines, you’re in the right place.
Quick Example
// 1. Register in Program.cs
builder.Services.AddEverTask(options =>
options.RegisterTasksFromAssemblyContaining<SendEmailTask>()
).AddSqlServerStorage(connectionString);
// 2. Define your task
public record SendEmailTask(string To, string Subject) : IEverTask;
// 3. Define your handler
public class SendEmailHandler : EverTaskHandler<SendEmailTask>
{
public override async Task Handle(SendEmailTask task, CancellationToken ct)
{
await _emailService.SendAsync(task.To, task.Subject);
}
}
// 4. Dispatch anywhere
await _dispatcher.DispatchAsync(new SendEmailTask("user@example.com", "Hello!"));
That’s it! EverTask persists the task, handles retries on failure, and executes it in the background. Learn more in Getting Started.
Table of Contents
Getting Started
- Getting Started - Get EverTask running in your app
- Task Creation - Create and configure tasks and handlers
- Task Dispatching - Execute tasks immediately or on a schedule
Core Concepts
- Storage - Choose your persistence layer (SQL Server, SQLite, or in-memory)
- Configuration - Configure EverTask
- Configuration Reference - Complete configuration options
- Configuration Cheatsheet - Quick reference guide
Advanced Topics
- Recurring Tasks - Schedule jobs with the fluent API or cron expressions
- Resilience - Handle failures with retry policies and timeouts
- Scalability - Performance and scalability features
- Multi-Queue Support - Workload isolation by priority or domain
- Sharded Scheduler - Extreme load support (>10k tasks/sec)
- Monitoring - Complete monitoring guide
- Custom Event Monitoring - Event system and integrations
- Monitoring Dashboard - Web dashboard and REST API
- API Reference - Complete API documentation
- Dashboard UI Guide - UI features and screenshots
- Task Execution Logs - Log capture and persistence
- Workflows - Coordinate complex workflows
- Task Orchestration - Continuations, cancellation, rescheduling
- Custom Workflows - Build complex task pipelines
- Architecture - How EverTask works under the hood
Quick Links
Support
Questions? Found a bug? Want to contribute? Head over to our GitHub Issues page.