Start here. This is the direct spoken answer to practice first.
Why this question matters
A framework-dependent artifact, self-contained publish, container image, and App Service runtime each carry different hosting assumptions. Startup logs and artifact metadata reveal when the deployed output and host contract do not match.
I would confirm the .NET target framework and publish mode of the artifact, then compare it with the App Service stack or container image. A framework-dependent deployment needs the expected runtime available on the host. A self-contained deployment carries more runtime with it but still needs correct startup configuration. I would check startup logs and deployment output because they usually point to missing runtime, wrong executable, or incompatible hosting configuration.