Try our conversational search powered by Generative AI!

Loading...
Area: Optimizely CMS
ARCHIVED This content is retired and no longer maintained. See the latest version here.

Recommended reading 

This is a pseudo code description of the element structure of the <episerver.framework> section in EPiServer framework. Refer to the Configuration section for an explanation of the syntax used in the description of the configuration elements.

Each element name below is also a link leading to the detailed information for that element.

<episerver.framework>
        <clientResources>
        <geolocation>
        <localization>
        <scanAssembly>
        <virtualPathProviders>
        <virtualRoles>
        <visitorGroupStatistics>
        <licensing>
        <appData>
        <blob>
        <event>
</episerver.framework>

<clientResources>

<clientResources debug="bool" compress="bool" />

<clientResources> Element Attributes

NameDefault ValueDescription
debug false Defines if debug versions of included scripts are used instead of optimized versions.
compress true Defines if data from REST stores should be delivered in compressed format.

<geolocation>

XML
<geolocation defaultProvider="string" >
   <providers>
      <add name="string"
           type="string" />
      ...
   </providers>
</geolocation>

<geolocation> Element Attributes

NameDefault ValueDescription
defaultProvider   Required. The name of the provider to be used.
A provider with the specified name must exist in the <providers> collection.

<add> Element Attributes

NameDefault ValueDescription
name   Required. A unique name identifying this provider.
type false Required. The full name of the geoloaction provider class.

<localization>

XML
<episerver.framework>
  ...
  <localization fallbackBehavior="FallbackCulture, MissingMessage, Echo" fallbackCulture="en">
    <providers>
      <add physicalPath="c:\temp\resourceFolder"
           name="customResources"
           type="EPiServer.Framework.Localization.XmlResources.FileXmlLocalizationProvider" />
    </providers>
  </localization>
  ...
</episerver.framework>

<localization> Element Attributes

NameDefault ValueDescription
fallbackBehavior FallbackBehaviors.Echo The fallback behavior that should be used if a resource could not be found in the requested culture. See EPiServer.Framework.Localization.FallbackBehaviors for possible values.
fallbackCulture en The name of the fallback culture in the 'languagecode-country/regioncode' format that the LocalizationService should use if a resource could not be found and the FallbackBehavior includes the FallbackBehavior.FallbackCulture flag.

<add> Element Attributes

NameDefault ValueDescription
name   Required. A unique name identifying this provider.
physicalPath   A physical directory path to where language files are located.
fileSystemWatchPath Same value as specified physicalPath. A physical directory path that the FileSystemWatcher uses. If no value is set it uses the physicalPath value.

<scanAssembly>

XML
<scanAssembly forceBinFolderScan="bool" >
   <add assembly="string" />
   ...
</scanAssembly>

<searchResultFilter> Element Attributes

NameDefault ValueDescription
forceBinFolderScan false Defines whether all asseblies in the /bin folder should be scanned to discover classes decorated with any of the EPiServer class decoration attributes.

<add> Element Attributes

NameDefault ValueDescription
assembly   Required. Defines whether all asseblies in the /bin folder should be scanned to discover classes decorated with any of the EPiServer class decoration attributes.

<virtualPathProviders>

XML
<virtualPathProviders> 
      <add name="string"
           type="string" />
      ...
</virtualPathProviders>

<add> Element Attributes

NameDefault ValueDescription
name   Required. Unique name for this virtual path provider.
type   Required. The full name of the virtual path provider class.
...   Implementation specific settings. Can have any name and arbitrary in number.

<virtualRoles>

XML
<virtualRoles failSafeIsInRole="bool"
              replacePrincipal="bool"
              replicationType="string"
addClaims="bool"
> <providers> <add name="string" type="string" /> ... </providers> </virtualRoles>

<virtualRoles> Element Attributes

NameDefault ValueDescription
failSafeIsInRole false Defines whether the IsInRole method on VirtualRolePrincipal may throw an exception (when replacePrincipal is set to true).
Set to true to stop IsInRole from throwing an exception.
replacePrincipal false Defines if the HttpContext.Current.User IPrincipal object should be wrapped in a VirtualRolePrincipal. Use addClaims instead when possible.
addClaims false Defines if virtual roles should be added as claims on the HttpContext.Current.User IPrincipal object. Cannot be combined with replacePrincipal. Requires EPiServer.CMS.Core 7.14 or higher.
replicationType EPiServer.ApplicationModules.Security.VirtualRoleReplication, EPiServer.ApplicationModules The full name of the class that will handle replication of changes in virtual roles.

<add> Element Attributes

NameDefault ValueDescription
name   Required. Unique name for this virtual role provider.
type   Required. The full name of the virtual role provider class.

<visitorGroupStatistics>

XML
<visitorGroupStatistics commitToRepositoryInterval="TimeSpan"
                        enabled="bool" />

<visitorGroupStatistics> Element Attributes

NameDefault ValueDescription
commitToRepositoryInterval 0.00:20:00 How often collected statistics should be saved to the repository.
enabled true Defines whether statistics should be collected.

<licensing>

XML
<licensing licenseFilePath="string"/>

<licensing> Element Attributes

NameDefault ValueDescription
licenseFilePath License.config The relative or absolute path to the license file.

<appData>

XML
<appData basePath="string"/>

<appData> Element Attributes

NameDefault ValueDescription
basePath   The path to the application data.

<blob>

XML
<blob defaultProvider="string" >
   <providers>
      <add name="string"
           type="string" />
      ...
   </providers>
</blob>

<blob> Element Attributes

NameDefault ValueDescription
defaultProvider   Required. The name of the provider to be used.
A provider with the specified name must exist in the <providers> collection.

<add> Element Attributes

NameDefault ValueDescription
name   Required. A unique name identifying this provider.
type false Required. The full name of the blob provider class.

<event>

XML
<event defaultProvider="string" >
   <providers>
      <add name="string"
           type="string" />
      ...
   </providers>
</event>

<event> Element Attributes

NameDefault ValueDescription
defaultProvider   Required. The name of the provider to be used.
A provider with the specified name must exist in the <providers> collection.

<add> Element Attributes

NameDefault ValueDescription
name   Required. A unique name identifying this provider.
type false Required. The full name of the event provider class.
Do you find this information helpful? Please log in to provide feedback.

Last updated: Feb 23, 2015

Recommended reading