Wavenet.Umbraco7.SlotCopy 2.1.0

.NET Framework 4.5
dotnet add package Wavenet.Umbraco7.SlotCopy --version 2.1.0
NuGet\Install-Package Wavenet.Umbraco7.SlotCopy -Version 2.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="Wavenet.Umbraco7.SlotCopy" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wavenet.Umbraco7.SlotCopy --version 2.1.0
#r "nuget: Wavenet.Umbraco7.SlotCopy, 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 Wavenet.Umbraco7.SlotCopy as a Cake Addin
#addin nuget:?package=Wavenet.Umbraco7.SlotCopy&version=2.1.0

// Install Wavenet.Umbraco7.SlotCopy as a Cake Tool
#tool nuget:?package=Wavenet.Umbraco7.SlotCopy&version=2.1.0

How to install

MachineKey

To work, this package requires you to have a custom machine key in your web config or to specify the UmbracoSlotCopy::ValidationKey.
The key will be use to secure exchanges between your slots.

Azure Settings

It's suggested that all settings are put on Azure Configure app settings as Slot Settings.

UmbracoSlotCopy::ServerToSync : https://your-production-website/umbraco/wavenet/slotcopy/getfiles (Required on Target Slot) UmbracoSlotCopy::PathsToSync : ~/media,~/css,~/App_Data/UmbracoForms (Optional on Source Slot) UmbracoSlotCopy::FilesToSyncPattern : *.* (Optional on Source Slot) UmbracoSlotCopy::ValidationKey : Your validation key (Best to use only if you have no machinekey defined.)

Synchronisation

When everything is set up, you simply make a request on your staging slot: https://your-staging-website/umbraco/wavenet/slotcopy/sync and it will show the synchronisation progress.
If you run the same on production, it will reject the request with a 404 (check based on UmbracoSlotCopy::ServerToSync)

Integration / Build Server

Just add a step which makes the HTTP request.

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
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 467 10/17/2019
2.0.0 361 10/16/2019
1.0.0 353 10/9/2019