title: ASP.NET Web.sitemap to Generate sitemap.xml
body: <p>Basically, I'm trying to find a way to setup a handler so that will run whenever someone goes to <a href="http://www.example.com/sitemap.xml" rel="nofollow noreferrer">http://www.example.com/sitemap.xml</a> web.sitemap xml. When the user or bot hits that url I want to pull my local Web.sitemap file in my solution and generate sitemap.xml syntax. This syntax must conform to <a href="https://www.sitemaps.org/protocol.html" rel="nofollow noreferrer">https://www.sitemaps.org/protocol.html</a> syntax. </p>