How to detect that azure application is running development fabric?

Posted by Hasan Khan on Stack Overflow See other posts from Stack Overflow or by Hasan Khan
Published on 2010-05-26T17:32:33Z Indexed on 2010/05/27 5:31 UTC
Read the original article Hit count: 248

How can I reliability detect whether my Azure application is running in development fabric and not in 'the cloud' ?

RoleEnvironment.IsAvailable is true for both. I want something that is true in only one case.

I'm asking this because I want users of my library to be able to use my library for free in dev fabric. Hence manually putting seperate identifier or flag in config file and keeping two configs for dev and deploy is not feasible.

© Stack Overflow or respective owner

Related posts about Azure

Related posts about windows-azure