Appsettings.json

Lynicon uses application settings from this file to supply configuration values to the core system and modules.

"Lynicon": {
  "Core": {
    "SqlConnectionString": "Data Source=(LocalDb)\\MSSQLLocalDB;Initial Catalog=LynTest;Integrated Security=True",
    "FileManagerRoot": "/Uploads/",
    "LyniconAreaBaseUrl": "/Areas/Lynicon/"
  },
  "Base": {
    "CacheReporting": true
  }
}

The top level "Lynicon" JSON property contains all Lynicon configuration. The subproperties of this are configuration for each module package (including "Core" for core Lynicon).  The configuration needed for the Core module is shown:

Module PackageConfiguration ItemPurpose
CoreSqlConnectionStringGives a SQL connection string used for the main database for Lynicon. It is possible to run Lynicon in a databaseless mode, in which case this is not used.
CoreFileManagerRootThe root folder for file manager uploads (for media). Needs a trailing '/'. This folder should have write permissions for application pool identities.
CoreLyniconAreaBaseUrlThe base url used for finding views used by Lynicon CMS
BaseCacheReportingExample configuration item from the Base module package to set up whether caches write out inconsistencies between their cached state and the database when reloaded for error trapping purposes.