Skip to content

SiteIntegrationConfiguration

Stephan edited this page Jun 23, 2014 · 9 revisions

When running in a website, the models builder supports the following application settings, in the appSettings section of the web.config file:

  • EnablePublishedContentModelsFactory - can be true (default) or false, indicates whether the default models factory should be enabled.
  • EnableApi - can be true (default) or false, indicates whether the API for Visual Studio should be enabled. If you do not use the Visual Studio extension, you may want to disable the API for extra security.
  • EnableLiveModels - can be true or false (default), indicates that "live" models should be activated (see above).
  • EnableAppCodeModels - can be true or false (default), indicates that "App_Code" models should be activated (see above).
  • EnableAppDataModels - can be true or false (default), indicates that "App_Data" models should be activated (see above).
  • ModelsNamespace - (string), specifies the generated models namespace.

Note that EnableLiveModels, EnableAppCodeModels and EnableAppDataModels are exclusive. Only one should be true at a time, else an exception will be thrown.

Clone this wiki locally