Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ Enabling IIS logging will cause the site to restart. For additional information,
Changing the .NET framework runtime or the `DOTNET_ENVIRONMENT` environment variable will also cause your website to restart.
{% endhint %}

{% hint style="info" %}
When using `WebApplication`, `DOTNET_ENVIRONMENT` takes precedence over `ASPNETCORE_ENVIRONMENT`. When using the legacy `WebHost`, `ASPNETCORE_ENVIRONMENT` takes precedence instead.

You can also override the environment value by setting the `ASPNETCORE_ENVIRONMENT` variable in your `web.config` file.
{% endhint %}

![Advanced Settings](images/advanced-settings.png)

![Advanced Settings continued](images/advanced-settings-continued.png)
Expand Down