Cultiv.Hangfire 2.1.0

.NET 6.0
Install-Package Cultiv.Hangfire -Version 2.1.0
dotnet add package Cultiv.Hangfire --version 2.1.0
<PackageReference Include="Cultiv.Hangfire" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cultiv.Hangfire --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cultiv.Hangfire, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cultiv.Hangfire as a Cake Addin
#addin nuget:?package=Cultiv.Hangfire&version=2.1.0

// Install Cultiv.Hangfire as a Cake Tool
#tool nuget:?package=Cultiv.Hangfire&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Cultiv.Hangfire · GitHub license NuGet version (Cultiv.Hangfire) Twitter

Hangfire dashboard for Umbraco

This installs Hangfire and a dashboard in Umbraco, the dashboard is secured and is only available for users with access to the Settings section of Umbraco.

After installing this, you can add a Composer to start running scheduled tasks, for example:

using System.Threading;
using Hangfire;
using Hangfire.Console;
using Hangfire.Server;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;

namespace MyNamespace
    public class Composer : IComposer
        public void Compose(IUmbracoBuilder builder)
            RecurringJob.AddOrUpdate(() => DoIt(null), Cron.Hourly());
        public void DoIt(PerformContext context)
            var progressBar =  context.WriteProgressBar();
            var items = new int[10]{ 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 };

            foreach (var item in items.WithProgress(progressBar, items.Length))
                context.WriteLine($"Number: {item}");
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
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
2.1.0 96 7/29/2022
2.0.1 91 7/19/2022
2.0.1-rc003 40 7/19/2022
2.0.1-rc002 39 7/19/2022
2.0.1-rc001 38 7/19/2022
2.0.0 120 6/23/2022
2.0.0-rc001 76 5/22/2022
1.0.1 730 3/7/2022
1.0.0 1,296 10/10/2021
1.0.0-rc001 175 9/19/2021