- 0
[Azure/C#] Accessing Instance information from a website.
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft faces shareholder lawsuit over masking AI costs and slowing Azure growth
By Karthik Mudaliar,
- 4 replies
- 0 views
-
Microsoft had to shut down 70+ GitHub repos after getting hacked, brings back some
By Aditya Tiwari,
- 0 replies
- 0 views
-
Microsoft Israel head fired following investigation of Palestine surveillance
By TarasBuria,
- microsoft
- microsoft israel
- (and 3 more)
- 8 replies
- 0 views
-
Microsoft Q3 2026 Earnings: AI run rate hits $37B as OpenAI partnership solidifies
By pradeepviswav,
- 0 replies
- 0 views
-
Major lawsuit claims Microsoft overcharged for Windows Server on rival cloud platforms
By Usama Jawad96,
- microsoft
- windows server
- (and 8 more)
- 3 replies
- 0 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
https://www.neowin.net/forum/topic/1139822-azurec-accessing-instance-information-from-a-website/Share on other sites
2 answers to this question
Recommended Posts