Questions tagged [webrole]

86 questions
0
votes
0 answers

Azure Web Role apply https binding to multiple instances

I have two web roles scaled up to 4 instances and at least two instances are running at a time. The certificate requested by a user via first website is pushed to blob storage and creates a queue message for the other website to read it. I have a…
0
votes
1 answer

How to pass object from webrole.cs to the controller of MVC?

I am working on web role in the Azure cloud service. Basically my web role is an MVC application and how can I make the controller in MVC communicate with the webrole.cs class. For example, in the run() method in webrole.cs I have received a message…
de li
  • 882
  • 1
  • 13
  • 25
0
votes
1 answer

Connectiing to SignalR Hub from WebRole

How do you connect to a signalR Hub from a web role ? i have a webrole that connects to an event hub, all the events are received fine, but when i try to pass this data to the web page via my SignalR hub, i get nothing, no errors, and no data at the…
Racing57
  • 81
  • 1
  • 3
  • 15
0
votes
1 answer

Generate Web.Debug.config which could be debugged

I have a web role Its web.config has a following lines When I want to debug my role each time I need to switch that option to true. Can I generate only for debug web.config with…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
0
votes
1 answer

Azure WebRole OnStart on Upgrade deployment

Does OnStart gets called from WebRole.cs in the case of Upgrade deployment?
Hrishi
  • 350
  • 3
  • 12
0
votes
0 answers

Unable to retrieve configuration setting values from azure Service configuration file

I am unable to retrieve configuration setting values from Azure service configuration file. I am able to run the application in local machine but after uploading the package into the azure site. Then while browing the application it is throwing the…
Nag Arjun
  • 115
  • 2
  • 12
0
votes
1 answer

Handling large number of same requests in Azure/IIS WebRole

I have a Azure Cloud Service based HTTP API which is currently serving its data out of an Azure SQL database. We also have a in role cache at the WebRole side. Generally this model is working fine for us but sometimes what happening is that we get…
Ravi Gupta
  • 6,258
  • 17
  • 56
  • 79
0
votes
1 answer

Handling the RoleEntryPoint.OnStart() event of an Azure Webrole in the second website

First Why I'm doing this: I have a WCF service deployed as an Azure Webrole using HTTPS as endpoint. I need to have a custom "load balancer probe" set for this service. Azure load balancers does not support HTTPS, so I've deployed a second website…
Hamid
  • 35
  • 1
  • 7
0
votes
1 answer

Azure Web Role-Some files are not being added to cspkg file

Finally after days of trial and error, I managed to get an existing MVC project converted into Azure Web Role. Deployed and it works, mostly. But my biggest issue is that the cspkg is missing some files that are part of the MVC project (they are…
Allen King
  • 2,372
  • 4
  • 34
  • 52
0
votes
1 answer

ELMAH logging at one place in Azure multiple web role instances environment

Is there a way to configure ELMAH to write logs in Azure blob so that logging from multiple instances can be monitored at one place? For example, configuring ELMAH to write to blobs instead of writing to files in the file system. I guess It can be…
Allen King
  • 2,372
  • 4
  • 34
  • 52
0
votes
1 answer

What is the best way to deploy NopCommerce 3.0 to Windows Azure using a Web Role?

I need to deploy a NopCommerce application on Windows Azure using Web Role. I created the Cloud project and added Nop.Web to Web Role, but it doesnt work! Thx
Alvaro Inckot
  • 695
  • 9
  • 29
0
votes
1 answer

How can I programmatically determine if an azure webrole instance returns 500 error in onstart method of webrole.cs?

I have this scenario: asp.net application running as azure webrole, 2 small instances. Sometimes when the vm's are restarting, one of my instances returns 500 error, I have to manually restart each instance and hope for the best. How can I check in…
Ion Dronic
  • 35
  • 1
  • 4
0
votes
2 answers

Multiple cloud projects publishing to the same web role

Is it possible to have multiple cloud projects independently publish to one web role? For example, cloud project A's ServiceDefinition.csdef would contain:
Dave New
  • 38,496
  • 59
  • 215
  • 394
0
votes
2 answers

After upgrade from Azure 2.0 to 2.2, CloudConfigurationManager.GetSettings("...") always returns empty

I upgraded my Azure from 2.0 to 2.2. After this, Microsoft.WindowsAzure.CloudConfigurationManager.GetSetting("...") always returns empty string. This code worked fine in version 2.0. My solution does have nuGet, and I have got to latest version of…
jagdipa
  • 420
  • 1
  • 5
  • 18
0
votes
1 answer

TFS Azure deploy build cannot find the dependent assembly Microsoft.Exchange.WebServices.dll

My Azure deployment script on TFS always fails to locate the assembly Microsoft.Exchange.WebServices.dll when deploying to Azure. I always get the following warning: The project '...' is dependent on the following assembly:…
bsavio
  • 68
  • 1
  • 6