Called to initialize a console application so it can use all of YetaWF's services, including data providers, caching, etc.
The base folder where the executable and all assemblies for the console application are located.
The path and file name of a file containing json describing the site to use. Files with json information are saved in the website's ./Website/Data/Sites folder whenever site settings are saved.
The Start method makes all settings from AppSettings.json available.
A LanguageSettings.json file must be present defining all languages used by the specified site filePath (a copy of the LanguageSettings.json file used for the website).
The console application must have references to the YetaWF.Core and YetaWF.Caching. The YetaWF.SiteProperties package is not required. Using this method to start, limited services can be used. Additional references must be added for services used by the console application.
Because all YetaWF services are available, all data providers and config settings can be accessed (and modified). Many data providers use site specific data. The data for the specified site filePath is used.