Questions tagged [azure-cloud-services]

PaaS service provided by Microsoft Azure to host stateless Windows Server virtual machines that are automatically provisioned and scaled.

A Microsoft Azure PaaS service that hosts automatically provisioned Windows Server-based virtual machines. Supports automatic scalability and high-availability.

971 questions
61
votes
2 answers

Azure SDK 2.5.1 fails to Publish cloudService

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,…
48
votes
6 answers

Staging or Production Instance?

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.
Kenji
  • 483
  • 1
  • 5
  • 5
24
votes
0 answers

ExecuteRequestHandler spent most of the time

I'm working on some performance related tasks and using new relic to diagnose first. Here is what I have got I'm wondering is it possible to improve on the ExecuteRequestHandler part? Any help will be appreciated. Thanks!
Ryan Chu
  • 935
  • 8
  • 19
22
votes
4 answers

How to check Azure function is running on local environment? `RoleEnvironment` is not working in Azure Functions

I have a condition in code where i need to check if current environment is not local.i have used !RoleEnvironment.IsEmulated, now this is not working in Azure functions but works in Cloud service. Same code is Shared in Cloud service also, so…
Avinash patil
  • 1,469
  • 12
  • 34
21
votes
4 answers

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

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…
19
votes
2 answers

How can I host a TCP Listener in Azure?

I am looking to build an application in Azure which will act as TCP listener, receive TCP message streams on a specified port, and then add the information to a database. The incoming TCP communication will be secured with a certificate. I'm…
James Wood
  • 16,370
  • 2
  • 39
  • 80
17
votes
3 answers

Set the application ConnectionString in the Service Configuration instead of web.config in Azure

I have an application currently in Azure and whenever we push it into the Staging segment, we cannot truly test since the connection string is pointing to the prod database. Someone mentioned to me that you should be able to set the connection…
16
votes
1 answer

Error While publishing Azure Cloud service with .net 4.6

Error : "The feature named NetFx46 that is required by the uploaded package is not available in the OS * chosen for the deployment."
Ihtsham Minhas
  • 1,257
  • 1
  • 18
  • 28
13
votes
3 answers

Azure Cloud Service role instances - auto-scaling - Changing event not firing

I got a Cloud Service deployment with 4 worker roles, one of which got auto-scaling enabled. As soon as auto-scaling occurs, all instances of all roles are recycling. Ideally, I'd like to stop the roles from recycling or at least terminate the work…
Ben Sch
  • 2,639
  • 4
  • 17
  • 23
11
votes
0 answers

ExecuteRequestHandler of a Cloud service taking too long time (almost 80% of total response time)

I have a Application (Web API , .NET 4.5) hosted as Azure cloud Service. Vm size large and 4 instances. When I am monitoring the application with new relic,I am seeing that ExecuteRequestHandler takes almost 80% of total response time and making…
Rupesh
  • 349
  • 1
  • 6
  • 18
11
votes
2 answers

Azure Cloud Services and Git continuous deployment?

Is there a way by which I can use Git not only as a code repository but also for a build and continuous deployment to Azure (Cloud service, NOT web site)? I suspect not given the missing build environment unless but want to confirm this before…
DeepSpace101
  • 11,760
  • 8
  • 70
  • 118
10
votes
1 answer

What's the alternative to Azure Cloud Service (Classic)?

Considering Azure Cloud Services are considered 'classic' and MS is steering towards using the Resource Manager. What is the recommended path for hosting a WCF webservice? I used to do this with a Azure Cloud Service so I didn't have to manage a…
user2713516
  • 2,479
  • 4
  • 18
  • 44
9
votes
3 answers

TargetProfile gives No default service configuration error

I am building an Azure Cloud service application in a TFS 2012 build definition. Everything is working properly with the default Cloud configuration. However when I set the TargetProfile property in the MSBuild arguments I get the following error.…
MikeDouglasDev
  • 1,311
  • 10
  • 20
8
votes
3 answers

How to run Headless Chrome in Azure Cloud Service or Azure Functions?

I am trying to use Headless Chrome to generate a PDF file from a complex HTML file (contains images, SVGs, etc.). I am able to use wkhtmltopdf.exe on Cloud Service (Windows) to generate simple PDF file, but I really need Chrome to produce PDFs as…
8
votes
2 answers

Azure Cloud Service Classic with .NET Standard target

Is there a way how to run Azure Cloud Service Classic project with worker role that targets .netstandard2.0? I have such project, but any time I try to build it I receive this error: Severity Code Description Project File Line Suppression…
1
2 3
64 65