I am deploying a C#.NET Blazor WASM App using APP SERVCIE and my build completes successfully but the Deployment is failing for some reason. I am not able to figure out why it is failing because I don’t see and errors for deployment logs. Can someone help me on this ??
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hi there,
As the build process is working as expected, and it’s only the deployment stage that is failing, it sounds like that this might be related to your App health checks configuration.
I would recommend checking if the health checks are set up correctly. For a Blazor WASM app, which primarily serves static content, using TCP health checks instead of HTTP might be more suitable.
Also ensure the health check is using the correct port. The port configured in your health check should match the port your app is listening on. If there’s a mismatch, the platform might incorrectly assume your app isn’t running and fail to deploy.
Besides that do you see anything in your deployment logs? I would recommend reviewing the deployment logs for any warnings or subtle indications of what might be going wrong. Sometimes, the issue might not be explicitly stated as an error but could be inferred from the log messages.
Also make sure to verify that your app component has sufficient resources (like memory and CPU) allocated to it. Insufficient resources can sometimes cause deployments to fail, especially if the app runs fine locally but struggles in a more constrained environment.
Let me know how it goes!
Best,
Bobby