title: Create Google compliant dynamic XML sitemap
body: <p>I want to create a dynamic (fetching data from the database) XML sitemap which I can submit to Google webmaster tools. </p>
  
  <p>Surprisingly, I couldn't find any recent controls/code online to do this. The most recent code I found was this <a href="http://weblogs.asp.net/bleroy/archive/2005/12/02/432188.aspx" rel="nofollow noreferrer">http://weblogs.asp.net/bleroy/archive/2005/12/02/432188.aspx</a> which is for ASP.Net 2.0. I don't mind using this, but I suspect it's outdated.</p>
  
  <p>Can somebody please point me in the direction of code which accomplishes this?</p>