Wavenet.Umbraco7.SlotCopy 2.1.0

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 and Polyglot Notebooks. 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 Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
2.1.0 840 10/17/2019
2.0.0 448 10/16/2019
1.0.0 458 10/9/2019