How Topics Are Stored
Last changed: -212.72.30.140

.

olocada

The logical model for Wiki content is simple:

All content for a WikiFederation is stored in the file system. The files include:

The root of all things: the FederationConfiguration

The web.config file points to a FederationConfigurationFile using a web-server virtual path (not a file system path).

The key FederationNamespaceMapFile is used to point at the federation configuration XML file. For example:

 <configuration>
    <appSettings>
        <add key="FederationNamespaceMapFile" value="/NamespaceMap.xml" />

In the configuration file is information about the federation, including a list of all of the WikiBases in the federation. For example:

 <?xml version="1.0" encoding="utf-8"?>
 <FederationConfiguration>
  ...
  <Namespaces>
    <Namespace Root=".\wikibases\FlexWiki" Namespace="FlexWiki" />
  </Namespaces>
  ...
 </FederationConfiguration>

In this example, there is only one namespace in the federation and its content is stored in the folder .\wikibases\FlexWiki. This could be an absolute file-system path, but in this case it's a relative path -- relative to the location of the NamespaceMap.xml file itself.

This location is called the WikiBase's RootFolder.

Note

Inside a WikiBase

Once you get to the RootFolder of a WikiBase, you'll find a few things: