Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.






ASP.NET Search Sitemaps - something for SEO

ASP.NET Futures introduced support for search engine sitemaps. This is content detection protocol introduced originally by Google and later accepted also by Microsoft and Yahoo! ASP.NET makes sitemaps generating easy for us and as a bonus their model is perfect for more complex web applications like e-commerce and e-services sites. Let's see now what we can do.


NB! This blog is moved to

Click here to go to article


Robert S. Robbins said:

You can also add a line to your robots.txt file to let the search engines know where to find your sitemap. Live Search now has webmaster tools which is where I found the robots.txt trick.

# May 12, 2008 11:17 PM

DigiMortal said:

Yes, robots.txt should say to spiders where sitemap file locates. There are no restrictions set on sitemap file name.

# May 13, 2008 2:52 AM

Guy Harwood said:

interesting post.

I built a site wide solution that you can plug into any existing site.

See link under my name.

# May 14, 2008 5:38 AM

DigiMortal said:

For larger sites you need to use some automatics that generates all the links available. The pages that are called "landing pages" are the only ones that need very careful handling and strong propagation in web. The other pages usually are not considered so important and to get best out of them you should use automatics.

The interesting thing comes from code design side if we want to integrate search sitemaps support to our applications. It is possible to create common interface for search sitemap entries that all publicly exposed objects implement. In this case we should be able to automate also sitemaps manual management through system's user interface.

I mean we may have a custom control that let's us handle the sitemaps specific information on insert and edit forms.

# May 14, 2008 6:04 AM

Carl Reid said:

Does anyone know when the Search SiteMaps feature is going to make it into production code rather than being part of the mysterious "Futures" release? The last bit of information I found on futures was July 2007 - since then nothing it seems.

Thanks in advance.

# July 23, 2008 6:36 AM

DigiMortal said:

I don't know exactly but let's hope that Sitemaps will be available with .Net 3.5 SP1

# July 23, 2008 11:26 AM

shalan99 said:


Great article! I know that the AspNetSiteMapSearchSiteMapProvider is used when you have a static "web.sitemap" sitting in your application root, but what if I wanted to use the DynamicDataSearchSiteMapProvider instead for navigation URLs? The reason is becuse I am using Jeff Prosise's SqlSitemapMapProvider, and have no idea where to go from here! Could you shed a little light on this please.


# November 3, 2008 4:49 PM

DigiMortal said:

Well... you have to write your own search sitemap provider that is able to use SqlSitemapMapProvider. All sitemap providers are using same interface and as long as you use this interface you can create search sitemaps based on all providers you have.

When you are creating search sitemap you have to step through all nodes in given sitemap and add links you got to search sitemap.

# November 5, 2008 5:18 PM

Chandu said:

Thanks for sharing

# February 6, 2012 3:48 AM