Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

I am not able to deploy the application to Azure from Visual Studio Code #979

@matewiszt

Description

@matewiszt

As Visual Studio for Mac will retire next year, I am trying to deploy eShopOnWeb via Visual Studio Code. When I try to deploy the Web project, it happens successfully but the webpage on the deployed service says "You do not have permission to view this directory or page.". If I turn on application logging in the App Service, it says: "The Web server is configured to not list the contents of this directory." It seems there is no web.config file in the folder to be picked up by IIS to suessfully launch the application.

These are my App Service settings:
Location: East US
Publishing model: Code
Runtime stack: Dotnet - v7.0
OS: Windows
Pricing: Free (F1)

I tried to deploy a sample application to this App Service (you can find the steps here: https://learn.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?tabs=net70&pivots=development-environment-vscode) and the application launches without issues. What am I doing wrong?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions