纽威
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.

118 lines
5.6 KiB

2 years ago
11 months ago
2 years ago
11 months ago
2 years ago
11 months ago
2 years ago
  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"
  10. type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  11. requirePermission="false"/>
  12. </configSections>
  13. <connectionStrings configSource="Configs\database.config"/>
  14. <!--<appSettings configSource="Configs\system.config"/>-->
  15. <appSettings>
  16. <add key="GoodRate" value="80" />
  17. </appSettings>
  18. <system.web>
  19. <httpRuntime targetFramework="4.5" maxRequestLength="999999999" maxQueryStringLength="2097151" />
  20. <compilation debug="true" targetFramework="4.5"/>
  21. <pages>
  22. <namespaces>
  23. <add namespace="System.Web.Helpers"/>
  24. <add namespace="System.Web.Mvc"/>
  25. <add namespace="System.Web.Mvc.Ajax"/>
  26. <add namespace="System.Web.Mvc.Html"/>
  27. <add namespace="System.Web.Routing"/>
  28. <add namespace="System.Web.WebPages"/>
  29. </namespaces>
  30. </pages>
  31. </system.web>
  32. <system.webServer>
  33. <security>
  34. <requestFiltering>
  35. <requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647"/>
  36. </requestFiltering>
  37. </security>
  38. <validation validateIntegratedModeConfiguration="false"/>
  39. <handlers>
  40. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
  41. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
  42. <remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
  43. <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule"
  44. scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32"
  45. responseBufferLimit="0"/>
  46. <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule"
  47. scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64"
  48. responseBufferLimit="0"/>
  49. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS"
  50. type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
  51. </handlers>
  52. </system.webServer>
  53. <runtime>
  54. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  55. <dependentAssembly>
  56. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
  57. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
  58. </dependentAssembly>
  59. <dependentAssembly>
  60. <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
  61. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  62. </dependentAssembly>
  63. <dependentAssembly>
  64. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
  65. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  66. </dependentAssembly>
  67. <dependentAssembly>
  68. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
  69. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  70. </dependentAssembly>
  71. <dependentAssembly>
  72. <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
  73. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  74. </dependentAssembly>
  75. <dependentAssembly>
  76. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  77. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  78. </dependentAssembly>
  79. </assemblyBinding>
  80. </runtime>
  81. <system.serviceModel>
  82. <bindings>
  83. <basicHttpBinding>
  84. <binding name="BasicHttpBinding_IU8ERP5" />
  85. </basicHttpBinding>
  86. <customBinding>
  87. <binding name="binding">
  88. <textMessageEncoding messageVersion="Soap11" />
  89. <httpTransport />
  90. </binding>
  91. <binding name="binding1">
  92. <textMessageEncoding messageVersion="Soap11" />
  93. <httpTransport />
  94. </binding>
  95. <binding name="binding2">
  96. <textMessageEncoding messageVersion="Soap11" />
  97. <httpTransport />
  98. </binding>
  99. </customBinding>
  100. </bindings>
  101. <client>
  102. <endpoint address="http://zhoubin/ZSU8ERP/U8ERP5.svc" binding="basicHttpBinding"
  103. bindingConfiguration="BasicHttpBinding_IU8ERP5" contract="ServiceReference1.IU8ERP5"
  104. name="BasicHttpBinding_IU8ERP5" />
  105. <endpoint address="http://erpprd4.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_kb_wxqkczl/900/zwms_sk_kb_wxqkczl/binding"
  106. binding="customBinding" bindingConfiguration="binding" contract="GetItemAge.ZWMS_SK_KB_WXQKCZL"
  107. name="binding" />
  108. <endpoint address="http://erpprd4.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_ws_hgpjd/900/zwms_ws_hgpjd/binding"
  109. binding="customBinding" bindingConfiguration="binding1" contract="GetStoreStatus.ZWMS_WS_HGPJD"
  110. name="binding1" />
  111. <endpoint address="http://erpprd4.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_kcwlzzts/900/zwms_sk_kcwlzzts/binding"
  112. binding="customBinding" bindingConfiguration="binding2" contract="GetItemZzDays.ZWMS_SK_KCWLZZTS"
  113. name="binding2" />
  114. </client>
  115. </system.serviceModel>
  116. </configuration>