Skip to content
Written with Claude

Top-Level Settings

These settings configure the application identity, server binding, and configuration behavior.

Application Settings

json
json
{
  "ApplicationName": null,
  "EnvironmentName": "Production",
  "Urls": "http://localhost:8080",
  "StartupMessage": "Started in {time}, listening on {urls}, version {version}"
}

Settings Reference

SettingTypeDefaultDescription
ApplicationNamestringnullApplication identifier. Defaults to the top-level directory name if not set.
EnvironmentNamestring"Production"Environment designation (Development, Staging, Production).
Urlsstring"http://localhost:8080"Server listening URLs. Separate multiple URLs with semicolons.
StartupMessagestring(see below)Message displayed on startup. Supports placeholders.

Default StartupMessage: "Started in {time}, listening on {urls}, version {version}"

Urls Configuration

The Urls setting accepts multiple URLs separated by semicolons:

json
json
{
  "Urls": "http://localhost:8080;https://localhost:8443"
}

To listen on all interfaces:

json
json
{
  "Urls": "http://0.0.0.0:8080;https://0.0.0.0:8443"
}

Startup Message Placeholders

Customize the startup message with these placeholders:

PlaceholderDescription
{time}Startup time
{urls}Listening URLs
{version}Application version
{environment}Environment name (from EnvironmentName)
{application}Application name (from ApplicationName)

Example:

json
json
{
  "StartupMessage": "Started in {time}, listening on {urls}, version {version}, env: {environment}"
}

Next Steps

Comments