MVC Routing module for ASP.NET 3.5

November 27, 2009 at 2:57 AMMark Rønn

One of the great things about the ASP.NET MVC framework is the routing module. By using routing you can craft some pretty nice looking urls - great for users and search engines.
For the last couple of years I've been on ASP.NET projects where we have developed custom url-rewriting functionality in order to achive pretty urls when working with SEO.
This have been working fine, but I'm pleased to discover that Microsoft has released the MVC Routing module for ASP.NET 3.5.

What is Routing?
In most web applications the normal approach is to call a webpage with parameters like the following url:
www.mycompany.com/showproduct?id=234

With routing the url could look like this:
www.mycompany.com/product/234

No doubt, the result is a nice looking, user and search engine friendly url.

The Routing module is part of .NET 3.5 SP1

Posted in: .NET | ASP.NET MVC

Tags: