1

我正在尝试使用 Ext.Net 构建一个 Windows Azure 站点。这个项目可以在这里下载。每当我尝试在浏览器(本地)上查看示例(Ext.NET.Default.aspx)页面时,我都会遇到以下错误

  • 加载资源失败:服务器响应状态为 404(未找到)=> localhost/extnet/extnet-all-js/ext.axd?v=40838
  • 加载资源失败:服务器响应状态为 404(未找到)=> localhost/extjs/ext-all-js/ext.axd?v=40838
  • 未捕获的 ReferenceError:未定义 Ext.NET.Default.aspx:14

注册路由是:

    public static void RegisterRoutes(RouteCollection routes)
    {
        routes.IgnoreRoute("{*allaxd}", new { allaxd = @".*\.axd(/.*)?" });

        //routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
        routes.IgnoreRoute("{handler}.ashx");
        //routes.IgnoreRoute("extnet/{*pathInfo}");
        //routes.IgnoreRoute("extjs/{*pathInfo}");
        routes.IgnoreRoute("icons/{*pathInfo}");
        routes.IgnoreRoute("Resources/{*pathInfo}");
        //routes.IgnoreRoute("{handler}.axd");
        routes.IgnoreRoute("Content/{*pathInfo}");
        routes.IgnoreRoute("favicon.ico");
    }
4

0 回答 0