Fewbit.Bricks.Jobs.Hangfire 1.0.0-preview7

This is a prerelease version of Fewbit.Bricks.Jobs.Hangfire.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Fewbit.Bricks.Jobs.Hangfire --version 1.0.0-preview7
                    
NuGet\Install-Package Fewbit.Bricks.Jobs.Hangfire -Version 1.0.0-preview7
                    
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="Fewbit.Bricks.Jobs.Hangfire" Version="1.0.0-preview7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fewbit.Bricks.Jobs.Hangfire" Version="1.0.0-preview7" />
                    
Directory.Packages.props
<PackageReference Include="Fewbit.Bricks.Jobs.Hangfire" />
                    
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 Fewbit.Bricks.Jobs.Hangfire --version 1.0.0-preview7
                    
#r "nuget: Fewbit.Bricks.Jobs.Hangfire, 1.0.0-preview7"
                    
#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 Fewbit.Bricks.Jobs.Hangfire@1.0.0-preview7
                    
#: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=Fewbit.Bricks.Jobs.Hangfire&version=1.0.0-preview7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fewbit.Bricks.Jobs.Hangfire&version=1.0.0-preview7&prerelease
                    
Install as a Cake Tool

Hangfire Job Processor

const string jobId = "1";

StartAndBuildProcessor()
    .ScheduleRecurringCall<IHeartBeatJob, HeartBeatJobData>(
        new HeartBeatJobData(DateTimeOffset.Now),
        Cron.Minutely(),
        jobId
    );

GlobalJobFilters.Filters.Add(
    new AutomaticRetryAttribute { Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Delete }
);

using var server = new BackgroundJobServer();
Console.ReadKey();
return;

static IJobProcessor StartAndBuildProcessor()
{
    var services = new ServiceCollection();
    services.AddLogging(configuration =>
    {
        configuration.AddConsole();
    });
    services.AddSingleton<IJobProcessor, HangfireJobProcessor>();
    services.AddTransient<IHeartBeatJob, HeartBeatJob>();
    services.AddHangfire(configuration =>
    {
        configuration.UseSQLiteStorage("test.db");
    });
    services.AddHangfireServer();
    var serviceProvider = services.BuildServiceProvider();
    return serviceProvider.GetRequiredService<IJobProcessor>();
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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. 
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.2.1 140 12/26/2024
1.1.9 139 10/6/2024
1.1.8 129 10/6/2024
1.1.7 141 6/11/2024
1.1.6 158 4/23/2024
1.1.5 136 4/22/2024
1.1.4 147 4/22/2024
1.1.3 136 4/22/2024
1.1.2 148 4/22/2024
1.1.1 142 4/22/2024
1.1.0 139 4/22/2024
1.0.14 157 4/7/2024
1.0.13 151 4/6/2024
1.0.12 182 1/17/2024
1.0.11 178 12/22/2023
1.0.10 197 11/14/2023
1.0.9 201 10/15/2023
1.0.8 170 10/15/2023
1.0.7 172 10/15/2023
1.0.6 185 10/15/2023
1.0.5 181 10/12/2023
1.0.4 171 10/10/2023
1.0.3 176 10/9/2023
1.0.2 163 10/9/2023
1.0.1 176 9/28/2023
1.0.0 174 9/28/2023
1.0.0-preview9 143 9/23/2023
1.0.0-preview8 131 9/23/2023
1.0.0-preview7 134 9/23/2023
1.0.0-preview6 145 9/22/2023
1.0.0-preview5 133 9/22/2023
1.0.0-preview4 140 9/22/2023
1.0.0-preview3 132 9/22/2023
1.0.0-preview2 140 9/22/2023
1.0.0-preview11 131 9/28/2023
1.0.0-preview10 133 9/28/2023
1.0.0-preview1 128 9/22/2023