The process of making the raw code (Visual Studio Solution) to Azure Cloud runnable instance.
Questions tagged [azure-deployment]
579 questions
5
votes
2 answers
Transform web.config for Azure Website Deployment for each release environment
In Visual Studio Team Services (was Visual Studio Online), I have three release environments each with an Azure Website Deploy step.
I can transform the web.config for the build step by specifying the "BuildConfiguration" variable (e.g. Uat) which…

Dan Cook
- 1,935
- 7
- 26
- 50
5
votes
0 answers
Deploy azure webjob in "stop" mode
I'm deploying Webjob with automate deployment in Azure portal in staging slot, but the problem is this webjob is running directly after deployment and it might cause a confusion between the main slot webjob and the staging one.
Is there a way to…

Mohamed Farrag
- 1,682
- 2
- 19
- 41
5
votes
3 answers
Deployment of Node native modules to Azure WebSites
I'm trying to deploy the following sample node application to an Azure website:
var http = require('http');
var port = process.env.port || 1337;
http.createServer(function (req, res) {
res.writeHead(200, { 'Content-Type': 'text/html' });
…

psousa
- 6,676
- 1
- 32
- 44
5
votes
1 answer
Setting Up And Using Web Deploy with Azure WebRole in Visual Studio (One-Click partial update)
I am using Windows Azure, and find it a lot difficult and useless make a new "Package" each time you make a small change, and want to test it on the Cloud. I heard about the opportunity to update the web roles without re-deploy the whole instance…

d.popov
- 4,175
- 1
- 36
- 47
5
votes
1 answer
Azure deploy issues
When I would like to deplopy my cloud service to azure, I get this error anytime:
Warning: Unable to connect to the remote serve
http://snag.gy/KdzQT.jpg
I've double checked everything. The cloud service is exist, the subscription is ok. I tried…

Tamás Varga
- 635
- 5
- 17
5
votes
2 answers
Web.config altered (drastically) during Azure deployment
After deploying to Azure, I kept getting server errors -- the application would not run. So I did a remote desktop into the instance and found that the web.config was completely overhauled...what's going on? I thought web.config was packaged…

dune_buggy
- 71
- 5
4
votes
1 answer
Azure deployment error > The size of the function content was too large
Trying to deploy nexjs app to Azure via github but keep getting error message as below. I have tried everything mentioned in the previous conversation but no success. Please help me to fix it.
The content server has rejected the request with:…

jits
- 41
- 4
4
votes
3 answers
Azure Sql DB Restore not showing up in Azure portal but stuck restoring in SSMS
I have had an Azure SQL DB point in time restore running for two days. I want to cancel it as I think there is an issue. I can see the DB restoring in SSMS but can't find the deployment in my Azure Portal. Does anyone know how to cancel it? I have…
4
votes
2 answers
Azure pipelines task VSTest@2 failing with error - Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.Common.resources'
I’ve created .Net Core 3.1 API test case projects. My project has the following nugget packages.
Microsoft.NET.Test.Sdk 15.3.0
Moq 4.16.1
xunit - 2.4.1
xunit.runner.visualstudio - 2.4.3
The unit test project executes properly in VS 2019 and all…

Vivek Gopalakrishnan
- 124
- 9
4
votes
1 answer
Azure set hostHeader according to project configuration
hostHeader can be set in ServiceDefinition.csdef file as
How can I change this setting…

ajay_whiz
- 17,573
- 4
- 36
- 44
4
votes
1 answer
n Azure Devops pull requests.Complete associated work items after merging disable
In Azure Devops I have a git repository with a develop branch. We create multiple feature branches from this branch and merge code into develop via pull requests. Once we complete the pull requests the work items got completed. its all closed from…

dilip bhapkar
- 41
- 1
- 3
4
votes
2 answers
Azure Pipelines: Exclude folders using Azure App Service Deploy
I have an Azure DevOps Pipeline which includes an Azure App Service Deploy task (AzureRmWebAppDeployment) for deploying an ASP.NET Core 3.1 project:
- task: AzureRmWebAppDeployment@4
inputs:
ConnectionType: 'AzureRM'
azureSubscription:…

Jeremy Caney
- 7,102
- 69
- 48
- 77
4
votes
1 answer
arm template functions not working with default values
I am deploying a bunch of resources from Arm template. I am trying to provide the resource name unique by using this "[uniqueString(subscription().subscriptionId)]" . I have the templates hosted in github and using the Deploy to Azure button am…

HariHaran
- 3,642
- 2
- 16
- 33
4
votes
1 answer
ARM - Deploy storage account only if not exists
Is there a way, using Azure Resource Manager (ARM) templates, to deploy a storage account only if that storage account does not exist?
The below template will create:
App Insights resource (shared)
Storage Account (shared)
App Plan
App instance…

MPavlak
- 2,133
- 1
- 23
- 38
4
votes
1 answer
Include node modules in azure deployment via VSTS
I have an azure app service which I need to deploy through as part of a release definition in VSTS.
To provide some context, it is a ASP.NET MVC app and uses Angular 2. It also has a package.json file. I have a VSTS build definition which includes…

AgentHunt
- 669
- 3
- 11
- 28