I have an asp.net mvc app that is built to run as standard web app in iis or in the cloud.
I need to be able to determine if the app is being hosted in azure(dev fab
Could you use the StorageAccountInfo class?:
StorageAccountInfo
In your StorageAccountInfo object, the property "usePathStyleUris" is false when you are pointing to cloud storage and true when you are pointing to Development Storage locally.
usePathStyleUris
false
true