title: set ASPNETCORE_ENVIRONMENT does not seem to be working
body: <p>I have followed along a book example and built an application called Sportstore (Pro ASP.Net Core MVC by Adam Freeman).</p>
  
  <p>Now I am on the deployment chapter and he deploys to Azure.
  I have created the databases on Azure, opened the firewall and opened a database with Visual Studio so I can see the Azure DB through the Visual Studio 2017 SQL Object Explorer.  Pretty cool.</p>
  
  <p>I have an appsettings.production.json file with the Azure Connection String.</p>
  
  <p>So the author has us open a command  prompt.  He also shows the powershell commands but I just went to the command prompt.</p>
  
  <p>I type:</p>
  
  <pre><code>set ASPNETCORE_ENVIRONMENT=PRODUCTION
  </code></pre>
  
  <p>I don't get an error here but I also don't get any kind of confirmation.  I believe I would get some type of message here if it worked.</p>
  
  <p>Then I type:</p>
  
  <pre><code>dotnet ef database update --context ApplicationDbContext
  </code></pre>
  
  <p>Now I get the message:</p>
  
  <p>No migrations were applied. The database is already up to date.</p>
  
  <p>This is telling me it still thinks it is in development.</p>
  
  <p>Is there a command to check what environment it is in?</p>
  
  <p>I know you can set the system environment and reboot.  But this seemed like you don't have to reboot.</p>
  
  <p>Is this command the same as going to the Windows Environment variables dialog and changing it there.  I know you have to reboot with that.</p>