Is there an RoleInstanceId equivilent on Azure Websites? -


i'm looking equivalent of azure roleinstanceid, on azure website (as opposed azure web role). i've looked extensively such thing, no avail. deployed "test" website display of environment variables on azure website, there didn't appear useful variable in set.

any in regard appreciated!

btw, in case you're interested in why want such thing, i'm trying implement advanced version of steve marx's excellent scalable counters windows azure...

 request.servervariables[ "instance_id" ] 

get iis site id website

would give iis site id .. might work identify. other hard coding in configuration file.

that should give unique id of inputting id each row of counter. worst case use guid , generate each time.

this make sure counter good.

hths,

james


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -