November Happy Hour will be moved to Thursday December 5th.

Class EPiServerFrameworkSection

Class representing the episerver.framework configuration element

Inheritance
System.Object
EPiServerFrameworkSection
Namespace: EPiServer.Framework.Configuration
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(FactoryMember = "Instance")]
public class EPiServerFrameworkSection : ConfigurationSection

Constructors

EPiServerFrameworkSection()

Declaration
public EPiServerFrameworkSection()

Properties

AppData

Declaration
public AppDataElement AppData { get; set; }
Property Value
Type Description
AppDataElement

Blob

Declaration
public BlobElement Blob { get; set; }
Property Value
Type Description
BlobElement

ClientResources

Configures client resoruces such as enabling debug mode

Declaration
public ClientResourcesElement ClientResources { get; set; }
Property Value
Type Description
ClientResourcesElement

ConfigurationInstance

Gets and sets the current configuration to use

Declaration
[Obsolete("Use ConfigurationSource.Instance = new FileConfigurationSource(value) to replace global configuration or use GlobalConfigurationManager to Load and Save configuration files")]
public static Configuration ConfigurationInstance { get; set; }
Property Value
Type Description
System.Configuration.Configuration

CreateDatabaseSchema

NOTE: This is a pre-release setting that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Gets a value indicating whether the database schema should be created automatically from within the site.

Declaration
public bool CreateDatabaseSchema { get; set; }
Property Value
Type Description
System.Boolean
Remarks

This feature is only intended for Developement environments and it is NOT supported in Production environments.

Event

Declaration
public EventElement Event { get; set; }
Property Value
Type Description
EventElement

Geolocation

Declaration
public GeolocationElement Geolocation { get; set; }
Property Value
Type Description
GeolocationElement

Instance

Gets the instance of the EPiServerFrameworkSection section

Declaration
public static EPiServerFrameworkSection Instance { get; }
Property Value
Type Description
EPiServerFrameworkSection
Remarks

Returns null if the section isn't found

Licensing

Declaration
public LicensingElement Licensing { get; set; }
Property Value
Type Description
LicensingElement

Localization

Declaration
public LocalizationElement Localization { get; set; }
Property Value
Type Description
LocalizationElement

LoggerFactoryType

Get and set value for logger factory type. If the LoggerFactoryType has value then it be used instead of scanning of logger factory type.

Declaration
public string LoggerFactoryType { get; set; }
Property Value
Type Description
System.String

ScanAssembly

Declaration
public AssemblyElementCollection ScanAssembly { get; set; }
Property Value
Type Description
AssemblyElementCollection

SecurityEntityProviders

Declaration
public SecurityEntityProviderElement SecurityEntityProviders { get; set; }
Property Value
Type Description
SecurityEntityProviderElement

Statistics

Declaration
public VisitorGroupStatisticsElement Statistics { get; set; }
Property Value
Type Description
VisitorGroupStatisticsElement

UpdateDatabaseSchema

Gets a value indicating whether the database schema should be updated automatically from within the site.

Declaration
public bool UpdateDatabaseSchema { get; set; }
Property Value
Type Description
System.Boolean

VirtualPathMappings

Gets the virtual path mappings configuration.

Declaration
public UrlMappingCollection VirtualPathMappings { get; }
Property Value
Type Description
System.Web.Configuration.UrlMappingCollection

VirtualPathProviders

Gets the virtual path provider settings.

Declaration
public ProviderSettingsCollection VirtualPathProviders { get; }
Property Value
Type Description
System.Configuration.ProviderSettingsCollection

VirtualRoles

Declaration
public VirtualRolesElement VirtualRoles { get; set; }
Property Value
Type Description
VirtualRolesElement

Methods

InitializeDefault()

Declaration
protected override void InitializeDefault()

Extension Methods