Class AppConfigBaseModel
- Namespace
- Contensive.BaseModels
- Assembly
- CPBase.dll
Configuration of an application
- new() - to allow deserialization (so all methods must pass in cp)
- shared getObject( cp, id ) - returns loaded model
- saveObject( cp ) - saves instance properties, returns the record id
public abstract class AppConfigBaseModel
- Inheritance
-
AppConfigBaseModel
- Inherited Members
Properties
adminLimit
limit to the number of content managers
public abstract int adminLimit { get; set; }
Property Value
adminRoute
route to admin site. The url pathpath that executes the addon site
public abstract string adminRoute { get; set; }
Property Value
allowSiteMonitor
set true to be included in server monitor testing
public abstract bool allowSiteMonitor { get; set; }
Property Value
appStatus
status used to signal that the app is ok. See AppStatusEnum for values
public abstract AppConfigBaseModel.AppStatusEnum appStatus { get; set; }
Property Value
cdnFileUrl
url for cdn files (for upload files, etc). For local files is can be /appname/files/) for remote cdn, it includes protocol-host
public abstract string cdnFileUrl { get; set; }
Property Value
cookiePrefix
Internal cookies are named cookiePrefix+'visit' and 'visitor' cookiePrefix if blank is set to appName Update cookie name at any time to reset cookies, voiding older cookies, logging out
public abstract string cookiePrefix { get; set; }
Property Value
defaultPage
when exeecuting iis, this is the default page.
public abstract string defaultPage { get; set; }
Property Value
deleteProtection
if true, the command line delete cannot delete this app
public abstract bool deleteProtection { get; set; }
Property Value
domainList
domain(s) for the app. primary domain is the first item in the list
public abstract List<string> domainList { get; set; }
Property Value
emailLimit
Emails per month. if 0 unlimited
public abstract int emailLimit { get; set; }
Property Value
enabled
when false, app throws exception
public abstract bool enabled { get; set; }
Property Value
localFilesPath
local file path to the content files. Paths end in slash. (i.e. d:\inetpub\myApp\files)
public abstract string localFilesPath { get; set; }
Property Value
localPrivatePath
local file path to the content files. Paths end in slash. (i.e. d:\inetpub\myApp\private)
public abstract string localPrivatePath { get; set; }
Property Value
localTempPath
temp file storage, files used by just one process, scope just during rendering life. Paths end in slash. (i.e. d:\inetpub\myApp\temp)
public abstract string localTempPath { get; set; }
Property Value
localWwwPath
local abs path to wwwroot. Paths end in slash. (i.e. d:\inetpub\myApp\www)
public abstract string localWwwPath { get; set; }
Property Value
memberLimit
limit to members (accounts with membership, users, ?)
public abstract int memberLimit { get; set; }
Property Value
name
name for the app. Must be unique within the server group. Difficulate to change later.
public abstract string name { get; set; }
Property Value
privateKey
key used for all encoding, two=way and one-way encoding.
public abstract string privateKey { get; set; }
Property Value
privateKeyFallBack
if the privateKey decoding fails and this key is not blank, an attempt is made with this key on reads. When changing keys, put the old key here. For two-way encoding, read will use fallback, and written back primary. For one-way, if primary fails, attempt secondary.
public abstract string privateKeyFallBack { get; set; }
Property Value
remoteFilePath
path within AWS S3 bucket where cdn files are stored. in some cases (like legacy), cdnFiles are in an iis virtual folder mapped to appRoot (like /appName/files/). Some cases this is a URL (http:\cdn.domain.com pointing to s3)
public abstract string remoteFilePath { get; set; }
Property Value
remotePrivatePath
path within AWS S3 bucket where private files are stored.
public abstract string remotePrivatePath { get; set; }
Property Value
remoteWwwPath
path within AWS S3 bucket where www files are stored
public abstract string remoteWwwPath { get; set; }
Property Value
secrets
if serverconfig.useSecretManager if true, this is not used. if false, app secrets are stored here. values stored in secrets override properties in server and app config.
public abstract List<NameValueBaseModel> secrets { get; set; }