System.Web.Configuration Namespace
.NET Framework version 2.0
Defines configuration settings that are used to support the infrastructure for configuring, storing, and rendering site navigation. This class cannot be inherited.
The SiteMapSection class provides a way to programmatically access and modify the siteMap section of a configuration file.
This example demonstrates how to specify values declaratively for several attributes of the siteMap section, which can also be accessed as members of the SiteMapSection class.
The following configuration file example shows how to specify values declaratively for the siteMap section.
<system.web>
<siteMap defaultProvider="XmlSiteMapReader" enabled="true">
<providers>
<clear />
<add name="XmlSiteMapReader"
type="XmlSiteMapProvider, System.Web, Version=1.1.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
siteMapFile="my.sitemap"
description="XmlSiteMapProvider that loads my.sitemap"/>
</siteMap>
</system.web>
ASP.NET Configuration <siteMap> Section