HomeBlogsgstevens's blogMetatag and Routing Additions to ASP.Net 4

Metatag and Routing Additions to ASP.Net 4

Microsoft's .Net Framework 4 has added two new properties to the Page object for dealing with common SEO needs. The new properties are MetaKeywords and MetaDescription. These can be set in the page, in the code-behind or in the @Page tag to control the keywords and description metatags in <head>.

ASP.Net 4 (actually part of .Net 3.5 SP1) also adds routing, a concept that has been around for quite some time in other platforms. Routing is another way of satisfying SEO needs by making user-friendly and search engine-friendly URLs. For example, instead of a blog post URL like:


routing lets you map page routes to more meaningful urls:



Post new comment

This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.