1. 先看下webformviewengine的构造函数:
public WebFormViewEngine()
{
    
base.MasterLocationFormats = new string[] { "~/Views/{1}/{0}.master""~/Views/Shared/{0}.master" };
    
base.ViewLocationFormats = new string[] { "~/Views/{1}/{0}.aspx""~/Views/{1}/{0}.ascx""~/Views/Shared/{0}.aspx""~/Views/Shared/{0}.ascx" };
    
base.PartialViewLocationFormats = base.ViewLocationFormats;
}

相关文章:

  • 2021-08-06
  • 2021-11-18
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-05
  • 2021-12-05
  • 2021-10-04
  • 2021-08-30
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案