English 中文(简体)
• 加速环境
原标题:Get RoleEnvironment info from Azure Web Role Accelerator

Is it possible to gain information about the web role from sites deployed onto the Web Role Accelerator? For example, I want to get the instance name that is being used:

 RoleEnvironment.CurrentRoleInstance
问题回答

是的。

在封面上,对网站“加速作用”没有什么特别的,它确实只是迅速公布更多网站,以发挥已经部署的网络作用。

是固定财产,可以从任何申请中申报,并注明为。 确实,你应当得到你们所期望的价值。





相关问题
Windows Azure WorkerRole response

I am working on an Azure demo to run Powershell in a worker role. In my web role I add the name of the Powershell script which is to be run to a CloudQueue object. I can print the script output to ...

Windows Azure WebRole stuck in a deployment loop

I ve been struggling with this one for a couple of days now. My current Windows Azure WebRole is stuck in a loop where the status keeps changing between Initializing, Busy, Stopping and Stopped. It ...

Getting a token for Windows Azure

We are looking at Windows Azure, but getting a token appears to be hard now, at least that s what I m seeing in web searches. Anyone tried it or know how to accelerate that process? Any idea how long ...

Developing Azure .Net 4.0 Applications

Presently .Net 4.0 is not supported on Azure. This thread indicates that you will not be able to use .Net 4.0 with VS 2010 until it is supported in the cloud. http://social.msdn.microsoft.com I d ...

.NET 4.0 on Windows Azure?

My google-fu is failing me on this one. As a possible solution to Unit Testing .NET 3.5 projects using MStest in VS2010 (but I ve put this in a seperate question because it s kind of unrelated): Is ...

热门标签