<configuration> <system.web> <siteMap defaultProvider="XmlSiteMapProvider" enabled="true"> <providers> <add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider " siteMapFile="Web.sitemap" securityTrimmingEnabled ="true" /> </providers> </siteMap> </system.web> </configuration>
web.sitemap
<?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="default.aspx" title="Home" description="[Home Page]" roles="*"> <siteMapNode url="signUp.aspx" title="Sign Up for an Account"/> <siteMapNode url="" title="My Account" description="[My Account]" /> <siteMapNode url="" title="Manage Users" description="[Manage Users]"/> <siteMapNode url="" title="Manage Events" description="[Manage Events]"/> <siteMapNode url="" title="Manage Locations" description="[Manage Locations]"/> <siteMapNode url="" title="Reports" description="[Reports]"> <siteMapNode url="" title="Event Roster" description="[Event Roster]"/> </siteMapNode> </siteMapNode> </siteMap>