This project is read-only.
The FilePageStoreProvider is page store provider, which uses XML files stored in given folder.

Provider configuration

The following is sample configuration of FilePageStoreProvider:
<configuration>
    <!-- Register configuration section -->
    <configSections>
        <section name="altairis.sewen"
                 type="Altairis.Sewen.Configuration.SewenConfigurationSection, Altairis.Sewen.Core" />
    </configSections>
    <!-- SEWEN configuration for routing -->
    <altairis.sewen>
        <wikiLink resolveMode="Route" routeName="SewenWikiPage" slugValueName="slug" />
        <store defaultProvider="FileProvider">
            <providers>
                <add name="FileProvider" 
                     type="Altairis.Sewen.PageStore.FilePageStoreProvider, Altairis.Sewen.Core"
                     dataFolderPath="~/App_Data/Sewen/" />
            </providers>
        </store>
    </altairis.sewen>
    <!-- rest of configuration goes here -->
</configuration>

FilePageStoreProvider Configuration Attributes

Name Mandatory Comment
name yes Logical provider name
type yes Name of the type class, must be Altairis.Sewen.PageStore.FilePageStoreProvider, Altairis.Sewen.Core
dataFolderPath no Path to folder where the page data should be stored. Defaults to ~/App_Data/Sewen/

Last edited May 29, 2011 at 12:52 PM by altair, version 1

Comments

No comments yet.