title: How to deploy Visual Studio template for dotnet core 6 and angular to azure
body: <p>I am using the latest .net core 6 application template with angular and identity from visual studio 2022.  I am able to run everything fine locally.  I have also created an azure database for the identity management.  When I run my application locally while pointing to the azure database everything works fine.</p>
  <p>I have created an azure app service using the .net 6 runtime.  I published my application to the app service.</p>
  <p>My issue is that when I run the app on azure, I get this error:</p>
  <pre><code>[application name] is currently unable to handle this request.
  HTTP ERROR 500
  </code></pre>
  <p>How can I troubleshoot this and what might I be missing in my azure setup?</p>
  <p>I essentially did exactly what is detailed here except for the code modifications: <a href="https://www.c-sharpcorner.com/article/easily-create-spa-with-net-6-0-and-angular-13-and-deploy-to-azure/" rel="nofollow noreferrer">https://www.c-sharpcorner.com/article/easily-create-spa-with-net-6-0-and-angular-13-and-deploy-to-azure/</a></p>