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
<PackageReference Include="Wavenet.Umbraco7.SlotCopy" Version="2.1.0" />
paket add Wavenet.Umbraco7.SlotCopy --version 2.1.0
#r "nuget: Wavenet.Umbraco7.SlotCopy, 2.1.0"
// 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 |
-
.NETFramework 4.5
- UmbracoCms.Core (>= 7.2.0 && < 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.