Web.config 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. https://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <configSections>
  8. <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">
  9. <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" />
  10. <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" />
  11. </sectionGroup>
  12. </configSections>
  13. <system.web.webPages.razor>
  14. <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  15. <pages pageBaseType="System.Web.Mvc.WebViewPage">
  16. <namespaces>
  17. <add namespace="System.Web.Mvc" />
  18. <add namespace="System.Web.Mvc.Ajax" />
  19. <add namespace="System.Web.Mvc.Html" />
  20. <add namespace="System.Web.Routing" />
  21. <add namespace="GreenTree.Nachtragsmanagement.Plugin.Test" />
  22. </namespaces>
  23. </pages>
  24. </system.web.webPages.razor>
  25. <appSettings>
  26. <add key="webpages:Version" value="3.0.0.0"/>
  27. <add key="webpages:Enabled" value="false"/>
  28. <add key="ClientValidationEnabled" value="true"/>
  29. <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
  30. </appSettings>
  31. <system.web>
  32. <compilation debug="true" targetFramework="4.5.2"/>
  33. <httpRuntime targetFramework="4.5.2"/>
  34. <!-- <compilation>
  35. <assemblies>
  36. <add assembly="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  37. </assemblies>
  38. </compilation> -->
  39. </system.web>
  40. <system.webServer>
  41. <handlers>
  42. <remove name="BlockViewHandler"/>
  43. <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
  44. </handlers>
  45. </system.webServer>
  46. <runtime>
  47. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  48. <dependentAssembly>
  49. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
  50. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  51. </dependentAssembly>
  52. <dependentAssembly>
  53. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
  54. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  55. </dependentAssembly>
  56. <dependentAssembly>
  57. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  58. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  59. </dependentAssembly>
  60. </assemblyBinding>
  61. </runtime>
  62. <system.codedom>
  63. <compilers>
  64. <compiler language="c#;cs;csharp" extension=".cs"
  65. type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  66. warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
  67. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
  68. type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  69. warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
  70. </compilers>
  71. </system.codedom>
  72. </configuration>