所以,我有一个带有此签名的控制器Action
public ActionResult Details(string id) { ... }
和我的全局asax文件中的路由
routes.MapRoute(
"DevDetails",
"Dati/Device/Details/{id}",
new { controller = "Device", action = "Details", id = "" });
当且仅当我请求哪个id以'%20'结尾的url时,动作控制器才会被调用。
任何线索?