uSync.Complete.Hangfire 0.1.0

dotnet add package uSync.Complete.Hangfire --version 0.1.0
                    
NuGet\Install-Package uSync.Complete.Hangfire -Version 0.1.0
                    
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="uSync.Complete.Hangfire" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="uSync.Complete.Hangfire" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="uSync.Complete.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 uSync.Complete.Hangfire --version 0.1.0
                    
#r "nuget: uSync.Complete.Hangfire, 0.1.0"
                    
#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 uSync.Complete.Hangfire@0.1.0
                    
#: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=uSync.Complete.Hangfire&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=uSync.Complete.Hangfire&version=0.1.0
                    
Install as a Cake Tool

uSync.Complete.Hangfire

Contains helpers for uSync.Complete

dotnet add package uSync.Complete.Hangfire

that let you do cool things such as

  • create a restore point
  • push or pull content between servers
  • push or pull media between servers
  • well push or pull anything really.

Example - Create a restore point

builder.CreateDailyRestorePointJob("Daily Restore Point", 02, 00);

Example - Push all of the content and media to another site once a day

builder.CreatePushAllContentAndMediaJob("Daily Site Sync", "Target", 04, 00);

You can also do things like specifiy which bit of content or media to use as the root fpr the push or the pull

builder.CreatePullMediaJob("Pull Backgrounds folder", // name for Hangfire.
    "Target", // alias of the server.
    Guid.Parse("f2b3c1d4-5e6f-7a8b-9c0d-e1f2g3h4i5j6"), // guid of the folder to start from.
    DependencyFlags.IncludeChildren, // flags (like include child items)
    05, 00); // time of day (5 AM)

Helpers and sample code.

Yopu can do more complicated things and there are lots of helpers and sample code

uSyncSource.Site/Scheduled contains some basic commands for a website.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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
0.1.0 0 8/22/2025
0.0.1 266 2/19/2024