Create an event on VIP Swap
It would be great if RoleEntryPoint could be notified of a VIP Swap. The trouble that I'm running into is that when I deploy to the stage slot part of OnStart() is to register with the Barracuda WAF. However, I only want to do this after the VIP Swap to the production slot.
Great suggestion! Thanks! We will look into this.
Ola Johansson commented
Would be really awesome to be able to notify Slack and so on that a swap has occurred, we do have "Deployments" notifications but sometimes it can take a lot of times before deployment to the staging slot and the actual swap.
Stephen Balkum commented
+1. Just ran into this need today. My app needs a notification to recreate all of its cached service bus clients to move from the staging queues to the production queues.
This would be a great addition!