title: Dynamically Generating sitemap.xml
body: <p>I've implemented a sitemap that is dynamically generated on the fly using the technique described <a href="http://www.blackbeltcoder.com/Articles/asp/dynamic-sitemaps-in-asp-net" rel="nofollow">here</a>.</p>
  
  <p>Since my site is a WebForms app, my sitemap URL ends up being www.mydomain.com/Sitemap.aspx.</p>
  
  <p>This is working well, and I can use search engine webmaster tools to tell them the URL to my sitemap. However, smaller search engines may not know where to find this file. It would be better if my dynamically generated sitemap could be at www.mydomain.com/sitemap.xml. This is the standard URL for a sitemap.</p>
  
  <p>What is the easiest way to generate the same sitemap data I do now but have it appear as the file sitemap.xml. Can I do it using routing, or do I need a custom HTTP handler?</p>
  
  <p>I'm using webforms but also have sites using ASP.NET MVC so I'm very interested in finding the best technique to do this in both platforms.</p>