azure-cloud-services

Azure Compute Service worker becomes “busy” following scale-up

放肆的年华 提交于 2019-12-22 14:45:06
问题 I'm running one service in Azure with 4 worker instances. When I scale up to 5 worker instances the first instance that had started goes into the "busy" state. Why is that? What happens during scale up? Does azure re-run all the startup tasks? I'm very confused and can't seem to find any documentation on this. After scaling up to 5 instances the first instance changes its status to: Busy (Waiting for role to start... Application startup tasks are running. [2014-08-12T18:36:52Z]) And the java

Azure Compute Service worker becomes “busy” following scale-up

好久不见. 提交于 2019-12-22 14:45:06
问题 I'm running one service in Azure with 4 worker instances. When I scale up to 5 worker instances the first instance that had started goes into the "busy" state. Why is that? What happens during scale up? Does azure re-run all the startup tasks? I'm very confused and can't seem to find any documentation on this. After scaling up to 5 instances the first instance changes its status to: Busy (Waiting for role to start... Application startup tasks are running. [2014-08-12T18:36:52Z]) And the java

Static IP for Cloud Service on Azure [closed]

ぃ、小莉子 提交于 2019-12-21 22:39:46
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I have a Cloud Service that has Worker Role. Cloud Service is set to scale at 5 instances. There is an operation that requires communication from Azure to our data center. For the communication to happen, we have to Whitelist the IP address. My question is that since I have set the Cloud Service to have 5

Web API interface works locally but gets 404 after deployed to Azure Website

爱⌒轻易说出口 提交于 2019-12-18 03:14:47
问题 I'm working on a ASP.NET MVC 4 website. Together with MVC controllers, I have one API controller which contains an ajax GET API interface. It works perfectly when debugged locally with visual studio. However, after I deployed it as an Azure Website, MVC controllers work, but the API controller doesn't work anymore. When jQuery code tries to reach it, it returns a response like: No HTTP resource was found that matches the request URI 'http://example.com'. It looks like at least the route works

Role in Azure Compute Emulator stuck cycling between Unknown and Destroyed states

*爱你&永不变心* 提交于 2019-12-17 17:16:43
问题 My Azure Cloud Service's Web Role works fine when deployed to Azure but can't get it running with the Emulator. When starting the role from within Visual Studio (2015) the window just displays "Starting the roles for the application in the Microsoft Azure compute emulator...". When starting with the debugger OnStart() doesn't seem to be hit at all, so something before that gets stuck. The role doesn't seem to be started because the app's custom logs are not created either. Looking at the

SignalR Azure Cloud Service with Service Bus

可紊 提交于 2019-12-14 02:14:58
问题 I have built a simple Chat application using SignalR followed the tutorial there, which works great. Then I followed the tutorial of SignalR Scaleout with Azure Service Bus, also from Microsoft. So I have completed all the following steps: Created a new Cloud Service on Azure Portal Created a new Service Bus namespace on Azure Portal Created a Windows Azure Cloud Service with a SignalR ASP.NET Web Role Setup the SignalR Web Role running on 2 instances (VM Size: Small) Deployed the Cloud

Azure ReservedIPAddress & Cloud Service without an endpoint

岁酱吖の 提交于 2019-12-14 01:33:55
问题 I have a cloud service that opens a socket externally and requires a whitelisted IP address. Nothing will externally initiate a connection with my service. When I attempt to publish it with an associated ReservedIP address I get the following error: Validation Errors: Error validating the .cscfg file against the .csdef file. Severity:Error, message:ReservedIP 'xxxx' was not mapped to an endpoint. The service definition must contain atleast one endpoint that maps to the ReservedIP.. .cscfg <

Cloud Service Always On Not working

家住魔仙堡 提交于 2019-12-13 21:57:23
问题 I have a Web Api service running in Cloud Services in Azure. I noticed like many have here that the first call to the service seems to take forever (almost 1 minute) and subsequent calls are normal. I looked around and came about a few resolutions, one being adding a startup script to the Role Startup of the Deployment REM *** Prevent the IIS app pools from shutting down due to being idle. %windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults

How to move blobs from App_Data folder of episerver cms site to azure blob storage hosted in azure cloud

泪湿孤枕 提交于 2019-12-13 07:28:26
问题 How to move blobs stored in App_Data folder of episerver cms website to azure blob storage, hosted in azure cloud environment? 回答1: There is a blob converter package on NuGet which migrates blobs from disk to another provider, e.g. Azure blob storage. 来源: https://stackoverflow.com/questions/42533000/how-to-move-blobs-from-app-data-folder-of-episerver-cms-site-to-azure-blob-stora

How to create Azure Cloud Service package from MsBuild in azure pipeline

人盡茶涼 提交于 2019-12-13 04:44:28
问题 I have some cloud service projects , which i am trying to get it into CI/CD. When i right click on the project from Visual Studio and click Package it does what i want. I can see the ServiceConfiguration.cscfg and ServiceDefinition.csdef in the bin\Release folder after the package command is completed. How can i achieve the same from an MSBuild command line ? I have tried msbuild.exe /p:DeployTarget=Package /p:DeployOnBuild=true /p:AutomatedBuild=True /p:configuration=release /p:outdir="D: