Forum Discussion
Azure Build Issues >> Publish Through VS 2022 Community Edition is causing 404 Errors at Many Action
Hi everyone,
Problem:
My .NET Core App, hosted on Azure App Services, is encountering 404 Exceptions for various UI actions.
App Overview:
It's an ASP.NET Core App hosted on Azure (PaaS/Azure App Services).
Publishing Details:
We're using VS 2022 Community Edition and performing a manual publish.
Local Testing:
Everything works smoothly during local testing.
Temporary Fix:
The problem is sometimes resolved by publishing again or restarting the App Services.
Seeking Help:
Any insights into what might be causing this issue? Could there be any missing configurations either in Azure or Microsoft?
Thanks!
Ashish Tripathi
1 Reply
The 404 errors encountered after publishing an ASP.NET Core application to Azure App Service are a recognized deployment challenge. According to Microsoft’s official guidance, these issues typically stem from configuration inconsistencies, missing or improperly deployed files, or application startup failures. Recommended remediation steps include enabling Azure App Service diagnostics, reviewing deployment and Kudu logs, and verifying that application routing and static file settings are correctly defined.
https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-10.0
https://github.com/dotnet/AspNetCore.Docs