Gaurav Mantri's Personal Blog.

Archives for March 16, 2012

Programmatically finding Deployment Slot from code running in Windows Azure

I’ve seen a number of threads on MSDN forums for Windows Azure where folks want to know if their application is running in “Production” or “Staging” slot in a Windows Azure hosted service. There may be situations where you don’t want your code to execute certain functionality when it is running in … [Read more...]