BackgroundTaskExecutor 10.0.13
See the version list below for details.
dotnet add package BackgroundTaskExecutor --version 10.0.13
NuGet\Install-Package BackgroundTaskExecutor -Version 10.0.13
<PackageReference Include="BackgroundTaskExecutor" Version="10.0.13" />
<PackageVersion Include="BackgroundTaskExecutor" Version="10.0.13" />
<PackageReference Include="BackgroundTaskExecutor" />
paket add BackgroundTaskExecutor --version 10.0.13
#r "nuget: BackgroundTaskExecutor, 10.0.13"
#:package BackgroundTaskExecutor@10.0.13
#addin nuget:?package=BackgroundTaskExecutor&version=10.0.13
#tool nuget:?package=BackgroundTaskExecutor&version=10.0.13
BackgroundExecutor
Setting Up
- Add
.AddBackgroundTaskExecutor() - Specify EF Core provider for inner DbContext using
.WithDatabase(options => { }) - Call
.Usemethod to finish DI specification - Add section to your appsettings.json
"BackgroundTaskExecutor": { "Profiles": { "{profileName}": { "Interval": {interval}, "IntervalTimeUnit": {"Millisecond" | "Second" | "Minute" | "Hour" | "Day" }, "FirstRunAfter": {delay}, "FirstRunAfterTimeUnit": {"Millisecond" | "Second" | "Minute" | "Hour" | "Day" }, } } }
You can override Default profile as well both defining profile with name "Default" or define necessary parameters in "BackgroundTaskExecutor" section
Usage
- Add
[BackgroundExecution({profileName})]attribute to method
Please note that BackgroundExecutor uses DI to get class instance for method running and can pass only CancellationToken to executing method
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.EntityFrameworkCore (>= 10.0.13)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.13)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 11.0.0 | 111 | 11/11/2026 | |
| 10.0.14 | 448 | 11/2/2026 | |
| 10.0.13 | 261 | 10/25/2026 | |
| 10.0.3 | 1,137 | 2/19/2026 | |
| 10.0.0 | 896 | 11/12/2025 | |
| 9.0.3 | 2,043 | 3/18/2025 | |
| 9.0.0 | 1,417 | 11/20/2024 | |
| 8.2.0 | 303 | 11/5/2024 | |
| 8.1.1 | 221 | 11/5/2024 | |
| 8.1.0 | 277 | 4/26/2024 | |
| 8.0.2 | 317 | 4/18/2024 | |
| 8.0.1 | 264 | 4/18/2024 | |
| 8.0.0 | 279 | 4/10/2024 |
Updated references