Share via

Cannot access web application after

Andrew Sabin 40 Reputation points
2026-01-05T23:13:44.2066667+00:00

Hello Microsoft Azure Support Team,

I have been trying to get a ASP.net and Blazor web application running through Microsoft Azure. When I have deployed it through continuous integration through a GitHub repository the build and deploy jobs have both shown up as successful. The only warning I have gotten from my build job through GitHub has been through the dotnet publish:

Warning: /usr/share/dotnet/sdk/10.0.101/Current/SolutionFile/ImportAfter/Microsoft.NET.Sdk.Solution.targets(36,5): warning NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. [/home/runner/work/*******/*******/******.slnx]

However, when I have tried to access the application through its default domain URL I have been getting an Application error, where when I click on the diagnostic resources link it has given me a Resource not found error, where after doing self-diagnostics, all tests were successful and gave me 200 status codes.

The only other clue as to why my application is not running is that in the Instances section of the Web Application has been giving me a ContainerTimeout error with the message: Container did not start within expected time limit of 230s. Please inspect your container logs for more details.

I'm currently hosting the web application through a Basic(B1) SKU and size tier in a Linux Operating System environment. The dotnet stack that my applications are running on is .Net 8.

I am currently subscribed to the Developer plan for Azure Support services, so I'm available if someone from the team needs to contact me.

Thank you very much for any help you can give me with solving this issue.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.


Answer accepted by question author

Aditya N 2,990 Reputation points Microsoft External Staff Moderator
2026-01-14T15:28:21.9766667+00:00

Hello @Andrew Sabin

Thank you for providing the resolution and helping the community, resolving the compatibility issues caused by version mismatches.Microsoft.EntityFrameworkCore, Version=9.0.8.0 - here it is trying to load the version 9.0.8.0 however .net stack was 8.0 as mentioned in query thus throwing file not found error. Upgrading should have resolved the issue. Thanks again for sharing.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Andrew Sabin 40 Reputation points
    2026-01-14T06:09:28.96+00:00

    I was able to solve this issue by upgrading the project's .NET Version from 8 to 10 and change the stack to .NET 10.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-01-05T23:14:55.18+00:00

    It seems like you are encountering a few issues with your ASP.NET and Blazor web application deployed on Azure. Here are some steps and considerations that might help you troubleshoot the problem:

    1. Container Timeout Error: The error message indicating that the container did not start within the expected time limit suggests that there may be an issue with the application starting up. You should inspect the container logs to identify any specific errors that occurred during the startup process. You can access these logs through the Azure portal under the "Log Stream" or "Container Logs" section of your App Service.
    2. Application Error: The application error you are experiencing could be related to the application not being able to start correctly due to configuration issues or missing dependencies. Ensure that all necessary configurations are set correctly in your appsettings.json and that any required services are properly configured in Azure.
    3. Warning from Build Job: The warning regarding the --output option not being supported when building a solution may not directly cause the application to fail, but it's worth addressing. Ensure that your build pipeline is correctly set up to handle output paths for individual projects rather than the solution as a whole.
    4. Check .NET Hosting Bundle: Since you are using .NET 8, ensure that the .NET Hosting Bundle is correctly installed on your Azure environment. If it’s missing or corrupted, it could lead to startup failures.
    5. Scaling Considerations: Since you are on a Basic (B1) SKU, consider whether this tier provides sufficient resources for your application. If your application is resource-intensive, you may want to scale up to a higher tier.
    6. Self-Diagnostics: Since your self-diagnostics returned successful results with 200 status codes, it indicates that the Azure infrastructure is functioning correctly. However, the application itself may still have issues that need to be resolved.

    If you continue to face issues, consider reaching out to Azure support for more personalized assistance, especially since you are subscribed to the Developer plan.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.