You can use LINQ to XML to create an XML sitemap from your database, then return the sitemap from an action by returning Content(document.ToString(), "text/xml")
.
↧
Answer by SLaks for sitemaps.xml in asp.net mvc
↧