TaskGate.Core
1.0.0
See the version list below for details.
dotnet add package TaskGate.Core --version 1.0.0
NuGet\Install-Package TaskGate.Core -Version 1.0.0
<PackageReference Include="TaskGate.Core" Version="1.0.0" />
<PackageVersion Include="TaskGate.Core" Version="1.0.0" />
<PackageReference Include="TaskGate.Core" />
paket add TaskGate.Core --version 1.0.0
#r "nuget: TaskGate.Core, 1.0.0"
#:package TaskGate.Core@1.0.0
#addin nuget:?package=TaskGate.Core&version=1.0.0
#tool nuget:?package=TaskGate.Core&version=1.0.0
TaskGate
TaskGate is a database-backed execution framework for high-volume job queues that keeps .NET workloads resilient, coordinated, and observable. It helps you orchestrate parallel processing while retaining strict control over resource usage.
Highlights
- Configurable parallelism and queue thresholds
- Robust retry and timeout policies
- Extensible provider model for multiple data stores
- Isolated
DbContextmanagement to avoid cross-task interference
Installation
# Core building blocks
dotnet add package TaskGate.Core
# Oracle provider
dotnet add package TaskGate.Oracle
# SQL Server provider
dotnet add package TaskGate.SqlServer
Quick Start
var builder = WebApplication.CreateBuilder(args);
var services = builder.Services;
services.AddOracleTaskGate<MyAppContext>(
connectionString: builder.Configuration.GetConnectionString("TaskGate"),
options =>
{
options.MaxParallelism = 8;
options.MaxQueueSize = 500;
options.TaskTimeout = TimeSpan.FromMinutes(5);
});
var app = builder.Build();
app.Run();
Architecture Snapshot
TaskGate centralizes queueing, leasing, and concurrency coordination in the TaskGate.Core package. Provider packages (Oracle, SQL Server) deliver data-source specific infrastructure while sharing the same leasing and retry primitives. Applications opt into the provider they need and compose TaskGate services through familiar dependency injection patterns.
Provider Layout
- TaskGate.Core – contracts, queue orchestration, concurrency limits, retry policies
- TaskGate.Oracle – Oracle provider implementation and specialized
TaskGateRetryPolicy - TaskGate.SqlServer – SQL Server provider implementation with pooled leasing integration
- Extend the abstractions in
TaskGate.Coreto add your own provider and wire up database operations.
Example Scenario
A finance platform processes 10,000 invoice tasks in parallel without compromising isolation: every task uses its own DbContext so state remains consistent. If the API tier crashes, TaskGate keeps the pending queue in durable storage and resumes processing when services recover. Combined retry, timeout, and concurrency limits smooth out transient issues while protecting downstream dependencies.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Microsoft.EntityFrameworkCore (>= 9.0.8)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.8)
- Microsoft.Extensions.Http (>= 9.0.8)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TaskGate.Core:
| Package | Downloads |
|---|---|
|
TaskGate.Oracle
Oracle provider integration for TaskGate parallel execution runtime. |
|
|
TaskGate.SqlServer
SQL Server provider integration for TaskGate parallel execution runtime. |
GitHub repositories
This package is not used by any popular GitHub repositories.