Questions tagged [kudu]

Kudu allows git push deployment for .net based web projects.

Although it was developed to deploy .net web projects to the Microsoft Azure Cloud it can also be used outside from Azure to deploy on premises IIS.

Wiki: https://github.com/projectkudu/kudu/wiki Forum: http://social.msdn.microsoft.com/Forums/en-US/azuregit/threads

428 questions
40
votes
4 answers

Couldn't find a project to run. Ensure a project exists in D:\home\site\wwwroot

I've been wrestling with this issue forever now. I'm trying to get my ASP.NET Core 2.1 app to run on Azure App Service. Here's the strange behavior I'm seeing in Kudu. I see the dll file for my project in Kudu console in D:\home\site\wwwroot. I then…
Sam
  • 26,817
  • 58
  • 206
  • 383
17
votes
10 answers

Azure YAML Deployment failing with "Error: Failed to deploy web package to App Service. Conflict (CODE: 409)"

Hoping someone has seen this also. Our last successful build was on Dec 6th 2019. New deployment attempts are failing at the deployment step (Same issue in the Build and Release pipelines). Error is reported as follows: Got service connection…
Bibberty
  • 4,670
  • 2
  • 8
  • 23
17
votes
2 answers

How to add a custom post deployment script to azure websites?

My problem is that I need to run a custom cmd file after the build. Instead of modifying the deployment scripts I just want to run few MSDOS commands to my deployment easily. The task I need to do is to run a cmd at the repository located at…
regisbsb
  • 3,664
  • 2
  • 35
  • 41
16
votes
1 answer

How do I deploy an Azure WebJob alongside a .NET Core Web App via Git?

I thought this would be a pretty straightforward task and there is quite a bit of documentation out there but I've had zero luck with any of it and am assuming that it is pretty much all out of date. I have .NET Core MVC 6 Web App that I've been…
Jargon
  • 420
  • 4
  • 14
15
votes
1 answer

Run self-hosted OWIN application in Azure Web Apps

It is possible to run a suave.io app on Azure Web Apps because of an IIS8 feature called HttpPlatformHandler. I tried to run a self-hosted OWIN application the same way, but got an exception on startup: Unhandled Exception:…
Johannes Egger
  • 3,874
  • 27
  • 36
14
votes
4 answers

Access denied on wwwroot after DevOps deployment

I've deployed a .Net Core web application to Azure App Service using Azure DevOps. Now, when I try to create file in 'D:\home\site\wwwroot' using Kudu it says: 409 Conflict: Could not write to local resource 'D:\home\site\wwwroot\anc' >due to error…
Ryszard Sikora
  • 195
  • 1
  • 1
  • 7
14
votes
2 answers

Azure Kudu Access denied with curl

Trying to access Azure App log stream from curl, as suggested by Azure Kudu web page. I'm on Windows 10 command prompt. This is a sample command line I'm trying: curl -u myUserName https://myApp.scm.azurewebsites.net/api/logstream Enter host…
superjos
  • 12,189
  • 6
  • 89
  • 134
14
votes
1 answer

Azure-functions: Can environment variables be used in function.json?

I'm currently using the git push deployment option to deploy a few copies of an azure-function. The function's function.json file has multiple "connection" entries linking to different storage accounts (i.e. for a blob trigger & table output). In…
Rufus Nelson
  • 207
  • 2
  • 5
14
votes
2 answers

Very slow Kudu deployments on Azure Websites

I have a customized deploy.cmd file that I use for deploying my Azure website. It does a few custom things like installing nodejs versions of Typescript and a minifier, and then running unit tests, before building and deploying the website…
Ken Smith
  • 20,305
  • 15
  • 100
  • 147
13
votes
1 answer

Run tracert from an azure app service?

we are trying to debug a connectivity issue and I can't seem to run tracert from my azure app service (azure website) instance. If I use the kudu cmd console and run tracert www.ibm.com I get the error "unable to contact IP driver. Error code…
GGleGrand
  • 1,565
  • 1
  • 20
  • 45
12
votes
1 answer

How to diagnose AspNetCore application not starting on Azure App Service?

We have multiple AspNetCore applications hosted on an Azure Web App as OutOfProcess and deployed as virtual applications with separate paths. We have the same setup in different environments, all infrastructure and applications are deployed…
Sean K
  • 161
  • 5
11
votes
4 answers

why babel stores .babel.json in USERPROFILE path

I'm running a nodejs app on azure web apps and i'm trying to integrate babel using npm in it. The problem is that babel is trying to acccess a file at %USERPROFILE% named .babel.json, a file that doesn't exist. This is most likely installed…
Alex
  • 10,869
  • 28
  • 93
  • 165
11
votes
2 answers

Azure Websites Kudu REST API - Authentication

I'm trying to use PowerShell to put an updated content file onto an Azure Website via the REST API. However, when supplying my credentials into Invoke-RestMethod -Credentials I am returned the HTML of the standard Azure login page. How can I…
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
10
votes
2 answers

Setting Up Kudu On IIS

A couple of days ago, Microsoft released the engine they're using to do git deployments to Azure. I've had a task on my TODO list for a while to get that kind of functionality set up on my DEV IIS server, so I'm interested in trying out Kudu for…
J Wynia
  • 10,464
  • 4
  • 40
  • 38
9
votes
1 answer

Is is possible to browse an Azure App Service temp directory?

I am using the Kudu Dashboard to browse the folder of my Azure App Service. Specifically, I am browsing the D:\local\Temp\ since that is supposed to be (as far as I understand) the folder used to store temporary files created by my web app. For…
T555
  • 217
  • 2
  • 9
1
2 3
28 29