Showing posts with label Url rewrite. Show all posts
Showing posts with label Url rewrite. Show all posts

Saturday, June 5, 2010

Asp.net 4.0 URL rewriting aka Routing

Are you tired of having ugly urls in your website like product.aspx?product=1? Are you concerned about having a search engine optimized web site? Asp.net provides the mean to easily rewrite your urls via the System.Web.Routing namespace.
I have composed a simple asp.net website with lots of comments in it, that demonstrates this new (not so new actually because this mechanism exists since .net 3.5 sp1) mechanism.