博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年3月23日

摘要: 1. Url routing routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults ); http://site.com/ > controller = Home, action = I 阅读全文

posted @ 2011-03-23 14:00 a-peng 阅读(336) 评论(0) 推荐(0) 编辑