我正在尝试使用Ext.Net构建Windows Azure站点。该项目可以下载here。 每当我尝试在浏览器(在本地)上查看示例(Ext.NET.Default.aspx)页面时,我都会遇到错误
RegisterRoute是:
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");
}