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.

93 lines
5.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. </configSections>
  11. <connectionStrings configSource="Configs\database.config" />
  12. <appSettings configSource="Configs\system.config" />
  13. <!--
  14. 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
  15. 可在 <httpRuntime> 标记上设置以下特性。
  16. <system.Web>
  17. <httpRuntime targetFramework="4.8" />
  18. </system.Web>
  19. -->
  20. <system.web>
  21. <httpRuntime maxRequestLength="999999999" executionTimeout="3600" maxQueryStringLength="2097151" targetFramework="4.5" />
  22. <!--<httpRuntime targetFramework="4.5" maxRequestLength="999999999" maxQueryStringLength="2097151" />-->
  23. <compilation debug="true" targetFramework="4.5" />
  24. <pages>
  25. <namespaces>
  26. <add namespace="System.Web.Helpers" />
  27. <add namespace="System.Web.Mvc" />
  28. <add namespace="System.Web.Mvc.Ajax" />
  29. <add namespace="System.Web.Mvc.Html" />
  30. <add namespace="System.Web.Routing" />
  31. <add namespace="System.Web.WebPages" />
  32. </namespaces>
  33. </pages>
  34. </system.web>
  35. <system.webServer>
  36. <security>
  37. <requestFiltering>
  38. <requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" />
  39. </requestFiltering>
  40. </security>
  41. <validation validateIntegratedModeConfiguration="false" />
  42. <handlers>
  43. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  44. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  45. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  46. <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
  47. <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
  48. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  49. </handlers>
  50. </system.webServer>
  51. <runtime>
  52. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  53. <dependentAssembly>
  54. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  55. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  59. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  63. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  64. </dependentAssembly>
  65. <dependentAssembly>
  66. <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
  67. <bindingRedirect oldVersion="0.0.0.0-1.2.15.0" newVersion="1.2.15.0" />
  68. </dependentAssembly>
  69. <dependentAssembly>
  70. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  71. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  72. </dependentAssembly>
  73. <dependentAssembly>
  74. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  75. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  76. </dependentAssembly>
  77. <dependentAssembly>
  78. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  79. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  80. </dependentAssembly>
  81. </assemblyBinding>
  82. </runtime>
  83. <system.serviceModel>
  84. <bindings>
  85. <basicHttpBinding>
  86. <binding name="BasicHttpBinding_IU8ERP5" />
  87. </basicHttpBinding>
  88. </bindings>
  89. <client>
  90. <endpoint address="http://zhoubin/ZSU8ERP/U8ERP5.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IU8ERP5" contract="ServiceReference1.IU8ERP5" name="BasicHttpBinding_IU8ERP5" />
  91. </client>
  92. </system.serviceModel>
  93. </configuration>