Understanding routing in Global.asax (asp.net-mvc)
问题 In Global.asax what does the following signify? routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 回答1: This is one of the really frustrating things about learning MVC - the documentation for this feature is awful - there's just hardly anything there: http://msdn.microsoft.com/en-us/library/dd470170(VS.100).aspx. routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); This allows all the something.axd files to run outside of MVC - that "{*pathInfo}" at the end allows query strings to be ignored (it