[嗨,我的朋友们,我为我的Web api项目启动了Api帮助页面。
现在的问题是,在其他区域路由后,找不到index.cshtml的我的帮助页面。这是global.asax代码,我张贴了错误消息的图片
protected void Application_Start()
{
GlobalConfiguration.Configure(WebApiConfig.Register);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
AreaRegistration.RegisterAllAreas();
MvcHandler.DisableMvcResponseHeader = true; /*Version Discloser 5 in 10 point*/
//Infrastructure.ConnectionStringEncryption.EncryptConnString();
//GlobalFilters.Filters.Add(new HandleAntiforgeryTokenErrorAttribute() { ExceptionType = typeof(HttpAntiForgeryException) });
}
很好的问题,我也有这个问题