调试Oxite的时候出现了这样的错误:“传入的请求不与任何路由匹配”
英文是:The incoming request does not match any route.
简单看了
http://stackoverflow.com/questions/283435/aspnet-mvc-mvc-routing-just-fails-in-ii6
http://stackoverflow.com/questions/275920/aspnet-mvc-on-iis-6-wildcard-mapping-the-incoming-request-does-not-match-any-ro
这两篇文章,应该是asp.net mvc的一点问题。
http://msdn.microsoft.com/en-us/library/cc668201.aspx
However, the are ways around this depending on your level of control on the IIS 6 server. Please refer to the following pages for more information
- http://biasecurities.com/blog/2008/how-to-enable-pretty-urls-with-asp-net-mvc-and-iis6/
- http://www.flux88.com/UsingASPNETMVCOnIIS6WithoutTheMVCExtension.aspx
但是看看Oxite/Routing/OxiteRoutes.cs 文件没问题
再看 Oxite/Routing/RouteCollectionExtensions.cs
不用System.Web.Mvc 也能运行
//INFO: (erikpo) Taken from System.Web.Mvc source code so we don't have to reference the System.Web.Mvc assembly and also don't have to add routes the "old fashioned" way.
生成->清理解决方案
生成->重新生成解决方案 ,就好了