title: How to create XML sitemap programmatically in c#
body: <p>I am building an website. Now I want to create its xml site map like google site map. But I want to create it programmatically using C#. </p>
  
  <p>Can anybody tell me how I can access the root directory on the web server using base url of my website get all the pages list into a string list?</p>