页: 1 Web.Mvc.Route(“faq.html”)] on my action Faq.
然而,当我去这里的时候,我就去了。
localhost/faq.html
我有404个网址没有发现错误,我可以发现我的习惯路线是当地影子/航道。
如何确定这一点?
感谢!
updated: here is my faq action
[OutputCache(Duration = 120)]
[AttributeRouting.Web.Mvc.Route("faq.html")]
public virtual ActionResult FAQ(int id = 0){
//some code here
}