You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.4 KiB

2 years ago
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  5. <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
  6. <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
  7. </sectionGroup>
  8. </configSections>
  9. <system.web.webPages.razor>
  10. <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  11. <pages pageBaseType="System.Web.Mvc.WebViewPage">
  12. <namespaces>
  13. <add namespace="System.Web.Mvc" />
  14. <add namespace="System.Web.Mvc.Ajax" />
  15. <add namespace="System.Web.Mvc.Html" />
  16. <add namespace="System.Web.Routing" />
  17. </namespaces>
  18. </pages>
  19. </system.web.webPages.razor>
  20. <appSettings>
  21. <add key="webpages:Enabled" value="false" />
  22. </appSettings>
  23. <system.web>
  24. <httpHandlers>
  25. <add path="*" verb="*" type="System.Web.HttpNotFoundHandler" />
  26. </httpHandlers>
  27. <pages
  28. validateRequest="false"
  29. pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
  30. pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
  31. userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  32. <controls>
  33. <add assembly="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
  34. </controls>
  35. </pages>
  36. </system.web>
  37. <system.webServer>
  38. <validation validateIntegratedModeConfiguration="false" />
  39. <handlers>
  40. <remove name="BlockViewHandler" />
  41. <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
  42. </handlers>
  43. </system.webServer>
  44. </configuration>