For the .htaccess File
RewriteEngine on RewriteRule (.*)\.(css|gif|png|jpeg|jpg|js|zip) $1.$2 [I,L] RewriteRule ^Home(/)?$ $9 [NC,R=301] RewriteRule ^$ Home [NC] RewriteRule ^([\w]+)$ $1.aspx [NC] RewriteRule ^(?!Content)([\w]*)/(.*) $1.aspx/$2 [NC]
For your global.asax.cs File
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute("default",
"{controller}/{action}/{id}",
new { controller = "home", action = "index", id = "" },
new { controller = @"[^\.]*" } );
routes.MapRoute("default.aspx",
"{controller}.aspx/{action}/{id}",
new { controller = "home", action = "index", id = "" },
new { controller = @"[^\.]*" } );
// For non wildcard default requests (.aspx)
routes.MapRoute("root", "", new { controller = "home", action =
"index", id = "" } );
}Some additional information can be found here http://blog.codevill...t-mvc-to-iis-6/ specifically Option 4 is what you need to use.

Sign In
Register
Help
MultiQuote