SeliseBlocks.Genesis.Framework.Worker
10.0.0.2
dotnet add package SeliseBlocks.Genesis.Framework.Worker --version 10.0.0.2
NuGet\Install-Package SeliseBlocks.Genesis.Framework.Worker -Version 10.0.0.2
<PackageReference Include="SeliseBlocks.Genesis.Framework.Worker" Version="10.0.0.2" />
<PackageVersion Include="SeliseBlocks.Genesis.Framework.Worker" Version="10.0.0.2" />
<PackageReference Include="SeliseBlocks.Genesis.Framework.Worker" />
paket add SeliseBlocks.Genesis.Framework.Worker --version 10.0.0.2
#r "nuget: SeliseBlocks.Genesis.Framework.Worker, 10.0.0.2"
#:package SeliseBlocks.Genesis.Framework.Worker@10.0.0.2
#addin nuget:?package=SeliseBlocks.Genesis.Framework.Worker&version=10.0.0.2
#tool nuget:?package=SeliseBlocks.Genesis.Framework.Worker&version=10.0.0.2
SeliseBlocks.Genesis.Framework.Worker
Background worker service using RabbitMQ and MassTransit for message-based processing in the Genesis framework.
Project Name & Purpose
SeliseBlocks.Genesis.Framework.Worker provides the infrastructure for background worker services in the Genesis platform. It implements the Saga pattern with MassTransit and RabbitMQ for message-based processing, supporting long-running workflows, event-driven choreography, and distributed saga orchestration. Workers consume messages from queues and execute business logic asynchronously.
Tech Stack
- .NET 10.0 (net10.0)
- Key Libraries:
MassTransit.RabbitMQ(8.2.5) - Saga orchestration and message busRabbitMQ.Client(6.8.1) - RabbitMQ clientMicrosoft.Extensions.Hosting(10.0.0) - Background service hostingSystem.IdentityModel.Tokens.Jwt(8.0.0) - JWT handlinglog4net(3.3.2) - LoggingSharpCompress(0.50.4) /Snappier(1.3.1) - Compression
Dependencies
Internal Project References
| Project | Version | Purpose |
|---|---|---|
| SeliseBlocks.Genesis.Framework.Logger.File | 10.0.0.2 | File logging |
| SeliseBlocks.Genesis.Framework.RedisClient | 10.0.0.2 | Redis caching |
| SeliseBlocks.Genesis.Framework.Repositories | 10.0.0.1 | Data access |
| SeliseBlocks.Genesis.Framework.ServiceClient | 10.0.0.1 | Service communication |
NuGet Packages
| Package | Version | Purpose |
|---|---|---|
| MassTransit.RabbitMQ | 8.2.5 | Saga/message bus |
| RabbitMQ.Client | 6.8.1 | RabbitMQ client |
| Microsoft.Extensions.Hosting | 10.0.0 | Hosting |
| System.IdentityModel.Tokens.Jwt | 8.0.0 | JWT |
| log4net | 3.3.2 | Logging |
| SharpCompress | 0.50.4 | Compression |
| Snappier | 1.3.1 | Compression |
Structure
Abstractions/
- AmpQMessage.cs
- ConsumerSubscription.cs
- IAmpQMessageConsumer.cs
- IMessageBroker.cs
- Subscription.cs
Application/
- Application.cs
- ApplicationBuilder.cs
- IApplicationBuilder.cs
- RequestDelegate.cs
Context/
- ContextAccesor.cs
- ContextFactory.cs
- DefaultContext.cs
- DefaultRequest.cs
- DefaultResponse.cs
- FeatureCollection.cs
- IContextAccessor.cs
- IContextFactory.cs
- IFeatureCollection.cs
- IRequestFeature.cs
- IResponseFeature.cs
- ProcessingContext.cs
- Request.cs
- Response.cs
Infrastructure/
- IStartup.cs
- MiddlewareBase.cs
- ServiceCollectionExtensions.cs
- UseMiddlewareExtensions.cs
- ValueStopwatch.cs
RabbitMq/
- SecurityContextProvider.cs
- Startup.cs
- HostBuilderExtensions.cs
- AppSettingsProvider.cs
- RabbitMqHostBuilder.cs
- RabbitMqHostBuilderOptions.cs
- RabbitMqHostingExtensions.cs
- RabbitMqMessageConsumer.cs
- RabbitMqMessageConsumerHostedService.cs
- RabbitMq.cs
- AmpqMessageConsumerOptions.cs
- AmpqMessageContext.cs
Saga/
(root level files)
- ISagaExecutionService.cs
- ISagaFactory.cs
- ISagaRepository.cs
- ITaskScheduler.cs
Internal/
- Command.cs
- DefaultSagaExecutionService.cs
- DefaultSagaFactory.cs
- DefaultSagaRepository.cs
- EventSagaDataPropertyMap.cs
- EventSagaDataPropertyMapExtensions.cs
- ExternalTaskScheduler.cs
- ScheduleMessage.cs
Public/
- SagaBase.cs
- SagaBaseT.cs
- SagaContext.cs
- SagaPropertyMapper.cs
- ISagaData.cs
Key Components
Saga Pattern
SagaBase/SagaBase<T>- Base classes for saga implementationsISagaData- Interface for saga state dataSagaContext- Execution context for sagasSagaPropertyMapper- Maps events to saga state
RabbitMQ Integration
RabbitMq- RabbitMQ connection managementRabbitMqMessageConsumer- Consumer implementationRabbitMqHostingExtensions- DI registration
Application Pipeline
ApplicationBuilder- Middleware pipeline builderMiddlewareBase- Base class for middleware
Context
ProcessingContext- Request processing contextContextFactory- Creates execution contexts
| 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
- log4net (>= 3.3.2)
- Microsoft.Extensions.Hosting (>= 10.0.0)
- RabbitMQ.Client (>= 6.8.1)
- SeliseBlocks.Genesis.Framework.Logger.File (>= 10.0.0.3)
- SeliseBlocks.Genesis.Framework.RedisClient (>= 10.0.0.3)
- SeliseBlocks.Genesis.Framework.Repositories (>= 10.0.0.2)
- SeliseBlocks.Genesis.Framework.ServiceClient (>= 10.0.0.2)
- SharpCompress (>= 0.50.4)
- Snappier (>= 1.3.1)
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 |
|---|---|---|
| 10.0.0.2 | 2,556 | 8/16/2026 |
| 10.0.0.1 | 86 | 8/16/2026 |
| 8.0.1.9 | 525 | 6/30/2026 |
| 8.0.1.8 | 152 | 4/22/2026 |
| 8.0.1.7 | 138 | 4/22/2026 |
| 8.0.1.6 | 133 | 4/20/2026 |
| 8.0.1.5 | 126 | 4/20/2026 |
| 8.0.1.4 | 12,253 | 2/26/2026 |
| 8.0.1.3 | 190 | 1/19/2026 |
| 8.0.1.2 | 1,884 | 9/4/2025 |
| 8.0.0.6-rc1 | 123 | 7/26/2026 |
| 6.0.5.2 | 47 | 8/19/2026 |
| 6.0.5.1 | 165 | 7/6/2026 |
| 6.0.3.7 | 191 | 3/18/2026 |
| 6.0.3.6 | 6,508 | 2/17/2026 |
| 6.0.3.5 | 660 | 9/15/2025 |
| 6.0.3.4 | 360 | 9/9/2025 |
| 6.0.3.4-rc1 | 160 | 9/13/2025 |
| 6.0.3.3 | 555 | 9/7/2025 |
| 6.0.3.2 | 297 | 9/4/2025 |