I think I misunderstood Azure Web App deployment slots and have used them incorrectly.
We have a .NET Core 2.1 Web App that we wanted to upgrade to Core 3.1. Rather than upgrade the existing we wrote a new one from the ground up so we could refactor it a little at the same time.
So I created a new deployment slot in Azure and added the new Web App via its (different) GitHub repo. That's fine, the new slot Web App loaded fine and after testing we decided to switch to the new version.
On the go-live I removed all the custom domains from the 2.1 version, and added them to the 3.1 version, along with SSL (there are lots of domains that use the same web app via DNS mappings, which I updated to point to the new slot's CNAME), tested this and it all worked fine. I hit 'swap slots' and essentially nothing happened - the 2.1 app stays as 'Production', and 3.1 is still the a 'slot app'.
Now I've stopped the 2.1 app, and all our traffic is flowing to the 3.1 slot version, but this strikes me as a problem! I need to get rid of the 2.1 version!
Any ideas how to solve this? i.e. how to make (from the pic) 'eadgen-GenV2' the main/production slot, so I can delete the original 'eadgen'?