隐藏行号 复制代码 这是一段程序代码。
  1. ViewEngines.Engines.Add(new WebFormViewEngine
    
  2. {
    
  3.     ViewLocationFormats = new string[]
    
  4.  {
    
  5.     "~/Views/Shared/Error/{0}.aspx"
    
  6.  },
    
  7.     PartialViewLocationFormats = new string[]
    
  8.   {
    
  9.      "~/Views/Shared/Partial/{0}.ascx"
    
  10.   },
    
  11.     MasterLocationFormats = new string[]
    
  12. {
    
  13.  "~/Views/Shared/Master/{0}.Master"
    
  14. },
    
  15.     AreaMasterLocationFormats = new string[]
    
  16.  {
    
  17.     "~/Areas/{1}/Share/Master/{0}.Master"              
    
  18.  }
    
  19. 
    
  20. });
    

相关文章:

  • 2022-01-25
  • 2021-10-02
  • 2022-12-23
  • 2021-10-09
  • 2021-07-26
  • 2021-06-03
  • 2022-12-23
猜你喜欢
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-11-24
  • 2021-07-22
  • 2021-06-28
相关资源
相似解决方案