@David Thielen While swapping is commonly used for deployment, I understand that you specifically want to copy your development slot to a load testing slot.
Here are a couple of approaches you can consider:
- Azure PowerShell: You can use Azure PowerShell to achieve this. The following commands demonstrate how to copy the production slot into a staging slot:
Replace$SrcSlot = Get-AzWebAppSlot -ResourceGroupName "your-resource-group" -Name "your-app-name" -Slot "production" New-AzWebAppSlot -ResourceGroupName "your-resource-group" -Name "your-app-name" -SourceWebApp $SrcSlot -Slot "loadtesting"
"your-resource-group"
and"your-app-name"
with your actual resource group and app name. - Manual Deployment: Another option is to manually deploy your code from the development slot to the load testing slot. You can do this by publishing your application directly to the desired slot using tools like Visual Studio, Azure DevOps, or GitHub Actions. This method allows you to control the deployment without swapping slots.
Let me know if you have any questions about the above suggestions by replying to this message.