Database Configuration


The database can be configured in three different ways: with the staradmin CLI, in the Administrator, or directly in the configuration file.

Configuration File

By default, the database configuration file is located inside the server directory Databases\[DatabaseName]\[DatabaseName].db.config. Further instructions on finding the database configuration file can be found on the Configuration Structure page.
The options in this file can be configured either directly in the file or when creating the database with the Staradmin CLI. Alternatively, a limited subset of the options can be configured from the Administrator.
For configurations regarding the network gateway, check the Network Gateway page.

Configuration Options

Here are the most important database configuration options with their default values:
    Should edition libraries be loaded in databases: LoadEditionLibraries: true
    Should JSON responses be wrapped in application name: WrapJsonInNamespaces: true
    Should applications be forced to register handlers starting with application name prefix: EnforceURINamespaces: false
    Should JSON responses from multiple applications be merged: MergeJsonSiblings: true
    Should the request filters be enabled (previously middleware filters): RequestFiltersEnabled: true
    Should static files HTTP responses have a special header X-File-Path that contains a full path to the actual file on the server (default value is False). This HTTP header is often useful for debugging purposes, but should be disabled in production: XFilePathHeader: true
    The HTTP port bound to the database: DefaultUserHttpPort: 8080