HTTP Error 500.34 - ASP.NET Core does not support mixing hosting models

Common solutions to this issue:

Select a different app pool to host this app.

Troubleshooting steps:

For more guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.