Home

Azure Web App vs IIS Web Deploy

%3CLINGO-SUB%20id%3D%22lingo-sub-549278%22%20slang%3D%22en-US%22%3EAzure%20Web%20App%20vs%20IIS%20Web%20Deploy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-549278%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20currently%20testing%20Azure%20Web%20Apps%20for%20my%20company.%20I%20have%20migrated%20a%20few%20PHP%20websites%20successfully.%20Now%20I%20am%20trying%20to%20test%20migrating%20a%20.net%20website.%3C%2FP%3E%3CP%3EOur%20typical%20deployment%20to%20IIS%20consists%20of%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.iis.net%2Fdownloads%2Fmicrosoft%2Fweb-deploy%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EWeb%20Deploy%3C%2FA%3E.%20We%20copy%20the%20Zip%20file%20to%20the%20server%2C%20right%20click%20the%20site%20and%20click%20%22Deploy%22%20Then%20%22Import%20Application%22%20then%20just%20click%20next%20a%20few%20times%20and%20restart%20the%20App%20Pool.%3C%2FP%3E%3CP%3EWhen%20I%20attempt%20to%20use%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fapp-service%2Fdeploy-zip%23deploy-zip-file%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKudu%20to%20deploy%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eby%20uploading%20the%20zip%2C%20but%20instead%20of%20getting%20the%20correct%20file%20structure%2C%20it%20basically%20just%20unzips%20the%20zip%20file%20in%20the%20folder%20in%20the%20wrong%20structure%20and%20that%20is%20it.%3C%2FP%3E%3CP%3EThe%20results%20looks%20like%20this%20(d%3A%5Chome%5Csite%5Cwwwroot)%3A%3C%2FP%3E%3CUL%3E%3CLI%3EContent%20(folder)%3C%2FLI%3E%3CLI%3Earchive.xml%3C%2FLI%3E%3CLI%3Eparameters.xml%3C%2FLI%3E%3CLI%3EsystemInfo.xml%3C%2FLI%3E%3C%2FUL%3E%3CP%3EI%20appear%20to%20be%20missing%20something%20in%20the%20deployment%20process.%20How%20can%20I%20deploy%20this%20to%20a%20Web%20App%20without%20my%20developer%20having%20to%20change%20his%20process%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-549278%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApp%20Services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIIS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWeb%20app%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWeb%20Deploy%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-552112%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Web%20App%20vs%20IIS%20Web%20Deploy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-552112%22%20slang%3D%22en-US%22%3EJust%20a%20quick%20thought.%20Inside%20the%20zip%20file%20you%20are%20using%2C%20do%20you%20have%20a%20folder%20first%3F%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20Zip---%26gt%3B%20Folder---%26gt%3Bcontent%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
Alex Riggs
Occasional Visitor

I am currently testing Azure Web Apps for my company. I have migrated a few PHP websites successfully. Now I am trying to test migrating a .net website.

Our typical deployment to IIS consists of using Web Deploy. We copy the Zip file to the server, right click the site and click "Deploy" Then "Import Application" then just click next a few times and restart the App Pool.

When I attempt to use Kudu to deploy by uploading the zip, but instead of getting the correct file structure, it basically just unzips the zip file in the folder in the wrong structure and that is it.

The results looks like this (d:\home\site\wwwroot):

  • Content (folder)
  • archive.xml
  • parameters.xml
  • systemInfo.xml

I appear to be missing something in the deployment process. How can I deploy this to a Web App without my developer having to change his process?

1 Reply
Just a quick thought. Inside the zip file you are using, do you have a folder first?

So, Zip---> Folder--->content

Related Conversations
Self Service Password Reset - Urls and IP address ranges
Chris Johnston in Azure on
2 Replies
Microsoft Learn
Daniel Martins in Azure on
16 Replies
How to locate storage account belongs to azure VM disk
Suhag Desai in Azure on
7 Replies
Conditional Access based on location only?
Jim Kacerguis in Azure on
2 Replies