azure-cloud-services

Azure Cloud Service : Scaled in web site (web role) instance recieves requests before iis is ready

三世轮回 提交于 2019-11-30 16:23:48
Description I got a web role hosted in a cloud service that is a web site. There are predictible load spikes that we handle with a custom monitoring (a worker role) that will periodically scale in or scale out depending on the predicted load profile. That part is working. Issue After a new instance of the web site is mounted by the monitoring, we just had a case of a user whose request reach that new instance before the new instance was fully load. It resulted in an unaccessible web site blank page on the web browser. Given our typical target client it is very bad. This happen when a tester

Azure SDK 2.5.1 fails to Publish cloudService

拥有回忆 提交于 2019-11-30 10:32:29
问题 After successfully upgrading my cloud service to the new "Azure SDK for .NET 2.5.1 " I got the following error when trying packaging/publishing. Could not load file or assembly 'Microsoft.WindowsAzure.Packaging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.5\Microsoft.WindowsAzure.targets The related line in the

Advantages of Service Fabric Microservices vs Collection of Azure Cloud services/web apps

喜欢而已 提交于 2019-11-30 05:40:59
问题 I have a application that can be broken down into multiple communicating services. My current implementation is monolithic and I want to reorganize it so that individual components can be deployed,iterated upon, scaled independently. I see two ways to do this with Azure: Service Fabric service composed of set of communicating micro-services (stateless, web-api etc.) A collection of individual Azure Web Apps/ Cloud Services that call each other at the http end points. Are there any obvious

Updating aspnet.config on Azure Web Role

落花浮王杯 提交于 2019-11-30 04:49:45
问题 I have a SignalR solution that is deployed to an Azure Web Role (cloud service, not Azure Web Site) and in order to ensure we can maximise the number of connections to each instance I need to make some changes various ASP.NET settings as detailed in this article: http://www.asp.net/signalr/overview/performance/signalr-performance#tuning The appConcurrentRequestLimit and requestQueueLimit settings were easily changed with a startup task that uses APPCMD to make the relevant changes. However,

Azure SDK 2.5.1 fails to Publish cloudService

此生再无相见时 提交于 2019-11-29 20:50:29
After successfully upgrading my cloud service to the new "Azure SDK for .NET 2.5.1 " I got the following error when trying packaging/publishing. Could not load file or assembly 'Microsoft.WindowsAzure.Packaging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.5\Microsoft.WindowsAzure.targets The related line in the "Microsoft.WindowsAzure.targets" config file is 2930 which obviously is related to CSPack. <CSPack

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

让人想犯罪 __ 提交于 2019-11-28 02:26:00
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 Compute Emulator's UI reveals that the role is continuously (and very slowly) cycling between Unknown and

Staging or Production Instance?

自作多情 提交于 2019-11-27 02:50:45
Is there anywhere in the service runtime that would tell me if I'm currently running on 'Staging' or 'Production'? Manually modifying the config to and from production seems a bit cumbersome. Igorek You should really not change your configurations when you're based upon if you're in Prod or Staging. Staging area is not designed to be a "QA" environment but only a holding-area before production is deployed. When you upload a new deployment, current deployment slot where you upload your package to is destroyed and is down for 10-15minutes while upload and start of VM's is happening. If you

Staging or Production Instance?

会有一股神秘感。 提交于 2019-11-26 10:17:53
问题 Is there anywhere in the service runtime that would tell me if I\'m currently running on \'Staging\' or \'Production\'? Manually modifying the config to and from production seems a bit cumbersome. 回答1: You should really not change your configurations when you're based upon if you're in Prod or Staging. Staging area is not designed to be a "QA" environment but only a holding-area before production is deployed. When you upload a new deployment, current deployment slot where you upload your