Logo

Logo Requirements

This guide explains the requirements for configuring your application's logo.

Supported Formats

Recommendation: Use SVG format when possible. SVG logos scale perfectly at any size and typically have smaller file sizes than raster images.

Configuration

Configure your logo path in appsettings.json:

{
  "Branding": {
    "LogoPath": "wwwroot/images/logo.svg",
    "LogoMinWidth": 50,
    "LogoMaxWidth": 300,
    "LogoMinHeight": 30,
    "LogoMaxHeight": 100
  }
}

File Location

Place your logo file in one of these locations:

Common Errors

BRANDING_LOGO_NOT_CONFIGURED
The LogoPath setting is missing or empty in appsettings.json. Add the path to your logo file.
BRANDING_LOGO_NOT_FOUND
The logo file doesn't exist at the specified path. Verify:
  • The file exists at the specified location
  • The path is relative to the project root (e.g., wwwroot/images/logo.svg)
  • File name and extension match exactly (case-sensitive on Linux)
BRANDING_LOGO_READ_ERROR
The file exists but couldn't be read. Check:
  • File permissions allow the web server to read it
  • The file isn't corrupted
  • The file format matches the extension