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 fabric or cloud) or if it is being run as standard web app under iis.
How can I tell if it is running in cloud?
See Question&Answers more detail:os