Umbraco.Community.EnvironmentIndicator 1.0.0

dotnet add package Umbraco.Community.EnvironmentIndicator --version 1.0.0
                    
NuGet\Install-Package Umbraco.Community.EnvironmentIndicator -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.Community.EnvironmentIndicator" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbraco.Community.EnvironmentIndicator" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Umbraco.Community.EnvironmentIndicator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbraco.Community.EnvironmentIndicator --version 1.0.0
                    
#r "nuget: Umbraco.Community.EnvironmentIndicator, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Umbraco.Community.EnvironmentIndicator@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Umbraco.Community.EnvironmentIndicator&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Umbraco.Community.EnvironmentIndicator&version=1.0.0
                    
Install as a Cake Tool

Umbraco Environment Indicator

Umbraco v17 package that makes environments stand out in the backoffice by:

  • Compositing the site favicon with Umbraco favicon.
  • Recoloring the Umbraco favicon with a configured hex color.
  • Showing an environment badge in the top header near the user menu.

Environment Indicator in favicon

Environment Indicator in header

Configuration

Add the following to your appsettings.json (or environment-specific file):

{
  "Umbraco": {
    "Community": {
      "EnvironmentIndicator": {
        "Color": "#E67E22",
        "Name": "Staging",
        "SiteIcon": "/img/favicon.png"
      }
    }
  }
}

Behavior

  • Missing SiteIcon: only Umbraco favicon is shown (still recolored if Color is valid).
  • Missing or invalid Color: icon is not recolored.
  • Missing settings: default Umbraco favicon remains the fallback.
  • If icon generation fails: falls back to original Umbraco favicon.

Backoffice Header App

A header app is added to Umbraco, that displays:

  • Environment name from Name (defaults to the host environment name if missing).
  • Color from Color (auto generates a color from the environment name if missing).

Notes

  • Targets Umbraco v17 only.
  • Favicon generation is cached in memory and rebuilds automatically after app restart.
  • Site icon fetch is size-limited to 1 MB for memory protection.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 82 3/30/2026
0.0.1-alpha001 70 3/30/2026