title: Appsettings.json How does one check to see what environment is being used?
body: <p>If one has a running .net core web app and there are multiple appsettings.json files in the root, how can you tell what environmentname is set to?  I guess one way is to write your own utility or status page where you use code to write out the value of this variable.  Is there another way?</p>
  
  <p>Instead of using some sort of transform as in the case with web.config files, you now generally deploy all the environment-specific appsettings files, and let the app determine the value of the environment.  This seems kinda confusing, in that you no longer can simply look at a config file and know what settings the app is using.</p>