I have an Azure website (not web role) with 2 slots: Production and Staging.
I want to enable cdn only for production slot, and not for staging, thing is I couldn't find a way to identify the host slot.
RoleEnvironment Isn't available since Azure websites don't have it.
I tried to configure in the portal at the app settings section, but swap action swaps the configuration with the slot.
Do you have any other suggestion to know if the websites runs in production or staging ?
Thanks