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 Package | Configuration Item | Purpose |
---|---|---|
Core | SqlConnectionString | Gives 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. |
Core | FileManagerRoot | The root folder for file manager uploads (for media). Needs a trailing '/'. This folder should have write permissions for application pool identities. |
Core | LyniconAreaBaseUrl | The base url used for finding views used by Lynicon CMS |
Base | CacheReporting | Example 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. |