- Notifications
You must be signed in to change notification settings - Fork5.9k
I am not able to deploy the application to Azure from Visual Studio Code #979
Description
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?