title: .net core web api responding with 500 when published to azure
body: <p>I deployed my .net core web api to azure and now it responds with 500 whenever i make a request to it.
  It uses entity framework with the database also deployed on azure. It works perfectly fine on localhost iis express. Here is my appsetings.json. I have changed the connection string for security reasons, it actually has real values in it. How can i get more information about this error or how can i solve it?</p>
  
  <pre><code>  "Logging": {
      "LogLevel": {
        "Default": "Information",
        "Microsoft": "Warning",
        "Microsoft.Hosting.Lifetime": "Information"
      }
    },
    "ConnectionString": {
      "prodSchoolProjectDB": "Server={serverName},1433;Initial Catalog=SchoolProjectDB;Persist Security Info=False;User ID={databaseId};Password={databasePassword};MultipleActiveResultSets=True;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
    },
    "AllowedHosts": "*"
  } ```
  </code></pre>