0

I've followed YouTube tutorials and MS docs to deploy my existing webapp to azure App Services, but it returns to me the page with default content of a new project.

enter image description here

Below is my file structure, "testHtml" is my start page, maybe there is something wrong with the structure, if so, how do I make change.

enter image description here

Chen
  • 171
  • 3
  • 14
  • Since you are using MVC, you should define your startup page in [`RegisterRoutes`](https://stackoverflow.com/a/18002766/7073340) – Jayendran Feb 15 '19 at 04:47
  • @Jayendran I tried replacing "Default" with my page "testHtml" in RouteConfig.cs, also tried adding – Chen Feb 15 '19 at 06:09

1 Answers1

2

According to your description, it seems that you need to set the default document for the Azure App service.

If it is deployed correctly, then it should work.

enter image description here

Tom Sun - MSFT
  • 24,161
  • 3
  • 30
  • 47