VOOZH about

URL: https://www.nuget.org/packages/FireTransit/

⇱ NuGet Gallery | FireTransit 1.0.6




FireTransit 1.0.6

dotnet add package FireTransit --version 1.0.6
 
 
NuGet\Install-Package FireTransit -Version 1.0.6
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FireTransit" Version="1.0.6" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FireTransit" Version="1.0.6" />
 
Directory.Packages.props
<PackageReference Include="FireTransit" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FireTransit --version 1.0.6
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FireTransit, 1.0.6"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FireTransit@1.0.6
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FireTransit&version=1.0.6
 
Install as a Cake Addin
#tool nuget:?package=FireTransit&version=1.0.6
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

FireTransit

FireTransit is a scalable background job processing library that bridges Hangfire, MassTransit, and RabbitMQ to enable distributed job execution in .NET applications.

Features

  • Scalability – Distribute job processing across multiple worker nodes.
  • Decoupling – Services communicate via messages, reducing direct dependencies.
  • Fault Tolerance – RabbitMQ ensures reliable job distribution.
  • Easy Integration – Seamlessly connects Hangfire and MassTransit.
  • Multi-Database Support – Works with PostgreSQL, SQL Server, and MySQL.

Installation

Add FireTransit to your .NET project:

 dotnet add package FireTransit

Quick Start

1. Configure FireTransit in Program.cs

var builder = Host.CreateApplicationBuilder(args);

// Add FireTransit
builder.Services.UseFireTransit(builder.Configuration);

var host = builder.Build();
host.Run();

2. Consume a Job

public class SendEmailConsumer : IConsumer<SendEmailMessage>
{
 public async Task Consume(ConsumeContext<SendEmailMessage> context)
 {
 Console.WriteLine($"Sending email to {context.Message.Email}");
 }
}

public class SendEmailMessage : IBaseMessage
{
 public string Name => "Sample Email Message";
 public string Description => "Triggers sending email messages.";
 public int Email { get; set; }
}

3. Schedule a recurring job

var eventPublisher = provider.GetRequiredService<IEventPublisher>();

eventPublisher.Recurring<SendEmailMessage>(new SendEmailMessage {
 Email = "user@example.com"
}, Cron.Minutely());

4. Delete a recurring job

Recurring jobs are keyed by the message's Name. Remove one by passing the same message (or its name) used when scheduling:

// By message — uses message.Name as the job key
eventPublisher.RemoveRecurring(new SendEmailMessage());

// Or by name directly
eventPublisher.RemoveRecurring("Sample Email Message");

Removing a job that does not exist is a no-op.

Use Cases

  • Email Notifications – Process email-sending jobs asynchronously without blocking the main application.
  • Order Processing – Handle background processing of customer orders, reducing API response times.
  • Data Importing – Queue large data imports without overloading your API.
  • Scheduled Reports – Generate and distribute reports on a schedule.
  • Event-Driven Workflows – Trigger automated background tasks based on user actions or system events.

Scaling Up

  • Deploy multiple workers to process jobs in parallel.
  • Monitor job execution using Hangfire Dashboard.
  • Keep services independent for better maintainability.
Product Versions Compatible and additional computed target framework versions.
.NET net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.6 51 6/17/2026
1.0.5 986 8/29/2025
1.0.4 300 8/13/2025
1.0.3 254 5/22/2025
1.0.2 278 4/2/2025
1.0.1 250 4/1/2025
1.0.0 277 3/31/2025