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

2
  • Since you are using MVC, you should define your startup page in RegisterRoutes Commented Feb 15, 2019 at 4:47
  • @Jayendran I tried replacing "Default" with my page "testHtml" in RouteConfig.cs, also tried adding <system.webServer> <defaultDocument> <files> <clear /> <add value="Pages/Home.aspx" /> </files> </defaultDocument> </system.webServer> Commented Feb 15, 2019 at 6:09

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.