asp.net的MVC怎么伪静态在*.html或者*.htm
asp.net的MVC(http://www.xx.com/home/index)怎么伪静态成*.html或者*.htm,用了下面的方法好像不行,有知道的人稍微发一个完整的解决方案,谢谢
routes.MapRoute(
"Default",
"{controller}/{action}/{page}",
new { controller = "Home", action = "Index", page = "index.htm" },
new { page=@".*\.[htm|hml]"});