当你的才华不能撑起你的野心时,就是你该选择学习的时候了!
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register);//这个路由注册应该优先注册 RouteConfig.RegisterRoutes(RouteTable.Routes); }