Exercise -Deploy your code to App Service Under Host a web application with Azure App Service

Harindrakumar Vaghasiya 0 Reputation points
2024-04-19T16:55:37.7133333+00:00

This command doesn't work "az webapp deployment source config-zip \

--src site.zip \

--resource-group learn-6b1690ea-43e9-48c8-8ae3-29e128f92789 \

--name <your-app-name>". 

Is there a way see the files in Azure portal?

Upto this portion of command "cd ~/BestBikeApp

dotnet publish -o pub

cd pub

zip -r site.zip * " it works fine. The published files are visible on powershell but can this files be visible on Azure Portal. At which location can we see this?

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
931 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmaranS 2,435 Reputation points Microsoft Vendor
    2024-04-20T02:21:55.26+00:00

    Hi Harindrakumar Vaghasiya,

    Thank you for reaching out to us on the Q&A forum.

    If the files have been successfully deployed to Azure App Service using the zip -r [site.zip](http://site.zip"http://site.zip/") * command, you should be able to view them in the Azure portal in the following location:

    1. Navigate to the Azure portal (portal.azure.com).
    2. Go to the Azure App Service where you deployed your application.
    3. Under the "Development Tools" section, select "Advanced Tools" (also known as "Kudu").
    4. This will open the Kudu interface. From here, navigate to the site/wwwroot directory.
    5. In the wwwroot directory, you should see the files that were included in the [site.zip](http://site.zip"http://site.zip/") archive.

    These are the files that have been deployed to your Azure App Service and should be visible in the Azure portal via the Kudu interface.

    If you find this information beneficial, we kindly request you to accept the answer by clicking the "Upvote" and "Accept Answer" buttons.

    If you encounter any further issues, please feel free to attach screenshots for reference and notify us in the comments. We are here to assist you.

    Thank you.

    0 comments No comments