İlk olarak dll dosyanı bin klasörüne kopyala.
web.config dosyana şunu yaz.
<system.web>
<httpModules>
<add name="SubgurimSiteMapContextRequest" type="Subgurim.Controles.SSM.SubgurimSiteMapContextRequest"/>
</httpModules>
</system.web>
<configSections>
<section name="SubgurimSiteMapConfiguration" type="Subgurim.Controles.SSM.SubgurimSiteMapSectionHandler"/>
</configSections>Sonrasında sayfanda görünecek xml'i şu yapıda dinamik veya statik olarak yazdır.
Sayfada linklerin nasıl olacağını vermişler zaten, açıklama istersen onu da yazabilirim.
<SubgurimSiteMapConfiguration>
<dataPath>...</dataPath>
<sitemapResponse>...</sitemapResponse>
<forbiddenPaths>
<Path></Path>
</forbiddenPaths>
<acceptedExtensions>
<extension>...</extension>
</acceptedExtensions>
<rewriterRules>
<rule>
<oldPath>...</oldPath>
<newPath>...</newPath>
</rule>
</rewriterRules>
</SubgurimSiteMapConfiguration>Kod tarafında ise şu şekilde kullanıyorsun. mypage.aspx sitemap'in olduğu sayfan.
using Subgurim.Controles.SSM;
...
SubgurimSiteMapBLL.addSiteMap("http://www.mydomain.com/myfolder/mypage.aspx");
//SubgurimSiteMapBLL.deleteSiteMap("http://www.mydomain.com/myfolder/mypage.aspx");
//SubgurimSiteMapBLL.clearSiteMap();
Response.Clear();
Response.ContentType = "text/xml";
Response.Flush();
Response.Write(SubgurimSiteMapBLL.showSiteMap());
Response.End();