title: How to switch my ASP.NET Core 5 MVC web app to development mode while in AWS
body: <p>I recently developed a new web application with ASP.NET Core 5 MVC. On the local IIS web server, the apps runs fine and can connect to the database.</p>
  <p>On AWS beanstalk, however, I only get a note that says I have to be in development mode.</p>
  <pre><code>&quot;profiles&quot;: {
      &quot;IIS Express&quot;: {
        &quot;commandName&quot;: &quot;IISExpress&quot;,
        &quot;launchBrowser&quot;: true,
        &quot;environmentVariables&quot;: {
          &quot;ASPNETCORE_ENVIRONMENT&quot;: &quot;Development&quot;,
          &quot;ASPNETCORE_HOSTINGSTARTUPASSEMBLIES&quot;: &quot;Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation&quot;
        }
      },
  </code></pre>