VS2013 Browser Link “The controller for path '/9ac086a69364466a841e03e001f946fd/arterySignalR/ping' could not be found.”

前端 未结 6 1968
鱼传尺愫
鱼传尺愫 2020-12-14 06:18

Since updating to VS2013, we receive this error when running our (MCV4) web app:

The controller for path \'/9ac086a69364466a841e03e001f946fd/arterySignalR/pi         


        
6条回答
  •  不思量自难忘°
    2020-12-14 06:43

    On VS2013 @Todd's solution didn't work for me, so I made my own.
    Hope it saves you some time.

    public static void RegisterRoutes(RouteCollection routes)
    {
        routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
    #if DEBUG
        routes.IgnoreRoute("{*browserlink}", new { browserlink = @".*__browserLink.*" });
    #endif
    }
    

提交回复
热议问题