Creating a Dynamic SiteMap page in ASP.NET
* This article, and all our great .NET Development documentation, Is available on the .NET Development menu
Search engines don’t magically discover every corner of your site—they follow the trails you leave for them. A well-formed sitemap.xml is one of the strongest signals you can give Google, Bing, and others about what pages exist, how often they change, and which ones matter most. Instead of maintaining a static XML file by hand, ASP.NET WebForms gives you a clean way to generate a sitemap dynamically, pulling URLs straight from your database and streaming valid XML directly to the browser.
|