- 0
[Azure/C#] Accessing Instance information from a website.
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft adds nine more realistic-sounding AI voices for Azure AI service users
By John Callaham,
- microsoft
- microsoft azure
- (and 2 more)
- 0 replies
- 1 view
-
- 0 replies
- 1 view
-
Microsoft says Windows 11 solved 'high percentage' of compatibility issues, kills Test Base
By TarasBuria,
- 5 replies
- 2 views
-
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
- 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