Web.config 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  13. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  14. </configSections>
  15. <system.web.webPages.razor>
  16. <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  17. <pages pageBaseType="System.Web.Mvc.WebViewPage">
  18. <namespaces>
  19. <add namespace="System.Web.Mvc" />
  20. <add namespace="System.Web.Mvc.Ajax" />
  21. <add namespace="System.Web.Mvc.Html" />
  22. <add namespace="System.Web.Routing" />
  23. <add namespace="GreenTree.Nachtragsmanagement.Plugin.MonitionList" />
  24. </namespaces>
  25. </pages>
  26. </system.web.webPages.razor>
  27. <appSettings>
  28. <add key="webpages:Version" value="3.0.0.0" />
  29. <add key="webpages:Enabled" value="false" />
  30. <add key="ClientValidationEnabled" value="true" />
  31. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  32. </appSettings>
  33. <system.web>
  34. <compilation debug="true" targetFramework="4.5.2" />
  35. <httpRuntime targetFramework="4.5.2" />
  36. </system.web>
  37. <system.webServer>
  38. <handlers>
  39. <remove name="BlockViewHandler" />
  40. <add name="BlockViewHandler" path="~/Views/*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
  41. <remove name="ExtensionlessUrlHandler-Integrated-4.0" /><remove name="OPTIONSVerbHandler" /><remove name="TRACEVerbHandler" /><add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /></handlers>
  42. </system.webServer>
  43. <runtime>
  44. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  45. <dependentAssembly>
  46. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  47. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  48. </dependentAssembly>
  49. <dependentAssembly>
  50. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  51. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  52. </dependentAssembly>
  53. <dependentAssembly>
  54. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  55. <bindingRedirect oldVersion="0.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  59. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  63. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  64. </dependentAssembly>
  65. <dependentAssembly>
  66. <assemblyIdentity name="Quartz" publicKeyToken="f6b8c98a402cc8a4" culture="neutral" />
  67. <bindingRedirect oldVersion="0.0.0.0-2.6.0.0" newVersion="2.6.0.0" />
  68. </dependentAssembly>
  69. <dependentAssembly>
  70. <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  71. <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
  72. </dependentAssembly>
  73. </assemblyBinding>
  74. </runtime>
  75. <system.codedom>
  76. <compilers>
  77. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
  78. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  79. </compilers>
  80. </system.codedom>
  81. <entityFramework>
  82. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  83. <providers>
  84. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  85. </providers>
  86. </entityFramework>
  87. </configuration>