Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Problem with publishing ASP.NET Core and Angular (single solution) to Azure #6784


User avatar
0
capacent created

I have published ASP.NET Core and Angular (single solution) to Azure. The the swagger documentation works

https://bimhost.azurewebsites.net/swagger/index.html

But but when I go to the webpage https://bimhost.azurewebsites.net I get an error:

404
Oops! You're lost.
We can not find the page you're looking for.
Home page.

I have gone through the tutorial https://docs.aspnetzero.com/documents/aspnet-core-angular/latest/Deployment-Angular-Publish-Azure and followed all the steps there but no success.


1 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @capacent,

    It seems like you have copied Angular's publish output to "dist" folder on your server. Move all content in the "dist" folder to an upper folder and it should fix your problem.