You may need to render some content in view, which is specific to some environment only. To achieve this goal you can use Environment tag helper:
<environment names="Development">
<h1>This is heading for development environment</h1>
</environment>
<environment names="Staging,Production">
<h1>This is heading for Staging or production environment</h1>
</environment>
The Environment tag helper will only render its contents if the current environment matches one of the environments specified using the names
attribute.