-
Notifications
You must be signed in to change notification settings - Fork 46
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 betrue(default) orfalse, indicates whether the default models factory should be enabled. -
EnableApi- can betrue(default) orfalse, 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 betrueorfalse(default), indicates that "live" models should be activated (see above). -
EnableAppCodeModels- can betrueorfalse(default), indicates that "App_Code" models should be activated (see above). -
EnableAppDataModels- can betrueorfalse(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.