Cultiv.Hangfire
2.0.1-rc001
This is a prerelease version of Cultiv.Hangfire.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Cultiv.Hangfire --version 2.0.1-rc001
NuGet\Install-Package Cultiv.Hangfire -Version 2.0.1-rc001
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="Cultiv.Hangfire" Version="2.0.1-rc001" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cultiv.Hangfire --version 2.0.1-rc001
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cultiv.Hangfire, 2.0.1-rc001"
#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.
// Install Cultiv.Hangfire as a Cake Addin #addin nuget:?package=Cultiv.Hangfire&version=2.0.1-rc001&prerelease // Install Cultiv.Hangfire as a Cake Tool #tool nuget:?package=Cultiv.Hangfire&version=2.0.1-rc001&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cultiv.Hangfire ·
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}");
Thread.Sleep(1000);
}
}
}
}
Product | Versions 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Hangfire (>= 1.7.30)
- Hangfire.Console (>= 1.4.2)
- Umbraco.Cms.Core (>= 10.0.0)
- Umbraco.Cms.Persistence.SqlServer (>= 10.0.0)
- Umbraco.Cms.Web.BackOffice (>= 10.0.0)
- Umbraco.Cms.Web.Common (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Cultiv.Hangfire:
Package | Downloads |
---|---|
uSync.Complete.Hangfire
Hangfire helpers for uSync.Complete |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.0.1 | 3,078 | 5/30/2024 |
4.0.0 | 176 | 5/8/2024 |
4.0.0-beta2 | 59 | 5/2/2024 |
4.0.0-beta1 | 118 | 3/7/2024 |
3.1.2 | 42,433 | 9/18/2023 |
3.1.1 | 136 | 9/18/2023 |
3.1.0 | 130 | 9/18/2023 |
3.0.0 | 2,889 | 8/21/2023 |
2.3.0 | 32,395 | 11/9/2022 |
2.2.1 | 1,884 | 11/3/2022 |
2.2.0 | 608 | 11/2/2022 |
2.2.0-rc001 | 166 | 11/2/2022 |
2.1.0 | 2,851 | 7/29/2022 |
2.0.1 | 1,262 | 7/19/2022 |
2.0.1-rc003 | 166 | 7/19/2022 |
2.0.1-rc002 | 151 | 7/19/2022 |
2.0.1-rc001 | 189 | 7/19/2022 |
2.0.0 | 579 | 6/23/2022 |
2.0.0-rc001 | 373 | 5/22/2022 |
1.0.1 | 5,010 | 3/7/2022 |
1.0.0 | 2,465 | 10/10/2021 |
1.0.0-rc001 | 284 | 9/19/2021 |