How To Set Environment for an IIS Hosted .Net Core App

Mert Ilis
Nov 6, 2020

The environment for .Net Core applications can be determined via environment variables.

.Net Core applications use the “ASPNETCORE_ENVIRONMENT” value for determining the environment profile. This profile is very important and can be used to determine many application settings or for specific error pages and exception handling.

--

--

Mert Ilis

I’m a software development enthusiast who likes trying different web technologies and adding value to his team.