- 0
[Azure/C#] Accessing Instance information from a website.
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Save 63% on this Complete Microsoft Azure Certification Prep Bundle
By News Staff,
- azure
- neowin deals
- (and 1 more)
- 0 replies
- 2 views
-
- 0 replies
- 1 view
-
Microsoft makes On Your Data in Azure OpenAI Service generally available
By John Callaham,
- 1 reply
- 4 views
-
Microsoft is not deprecating Azure IoT Central; claims a recent system message was an error
By John Callaham,
- microsoft
- microsoft azure
- (and 3 more)
- 0 replies
- 3 views
-
Microsoft is the second company to hit $3 trillion market cap
By Omer Dursun,
- microsoft
- market capitalization
- (and 7 more)
- 4 replies
- 2 views
-
Question
Stephen Veteran
Hey!
I've been playing with websites in azure, and I want to get some information about the current site from azure, So I am trying to use the "RoleEnvironment" class from Microsoft.WindowsAzure.ServiceRuntime.dll to get the information.
However when I try RoleEnvironment.IsAvailable, I always get False, even though the website is running on azure? Am I missing something basic here?
Cheers!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts